color.cone {mining} | R Documentation |
Plots named colors as points in a three-dimensional cone.
color.cone(col,cex=2,light=T,...)
col |
a vector of strings, naming colors. |
cex |
a number controlling the size of the points. |
light |
If TRUE , the cone will be surrounded by point
light sources. |
The colors are mapped into Hue-Saturation-Lightness (HSL). Hue gives the angle around the cone, Saturation the radial distance from the center line, and Lightness the height from the base of the cone.
Produces a VRML file which is opened by a VRML viewer.
The high-lightness, high-saturation part of the cone will always be empty, because these colors are not achievable on computer displays (due to the RGB representation).
Tom Minka
Rich Franzen's Wheel of Saturation, Intensity, and Hue. http://home.att.net/~rocq/SIHwheel.html
Charles Poynton's Color FAQ. http://www.poynton.com/notes/colour_and_gamma/ColorFAQ.html
color.cone(YlGnBu.colors(8)) color.cone(YR.colors(16)) color.cone(RYB.colors(7)) color.cone(topo.colors(20)) # reveals how topo.colors is not sequential in lightness