tim.colors {fields} | R Documentation |
A pleasing rainbow style color table patterned after that used in Matlab by Tim.
tim.colors(n = 64)
n |
Number of color levels. The setting n =64 is the orignal
definition. |
Ask Tim.
A vector of character strings giving the colors in a hexadecimal format.
topo.colors, terrain.colors
tim.colors(10) # returns an array of 10 strings in hex format #e.g. (red, green, blue) values of (16,255, 239) # translates to "#10FFEF" . image( outer( 1:20,1:20,"+"), col=tim.colors( 75))