blackBodyRadiationColors | R Documentation |
set up color scale for black body spectrum
blackBodyRadiationColors(x, max_value = 1)
x |
numeric should be between 0 (black) and 1 (white) |
max_value |
numeric maximum value to be used for scaling |
I obtained this by copy and paste from internet (reference unknown)
returns no value, but has side effect of generating color map
colors.blackBody <- rev(blackBodyRadiationColors(seq(0.3,1,length.out=20)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.