| tim.colors | R Documentation |
A pleasing rainbow style color table patterned after that used in Matlab.
tim.colors(n = 64)
n |
is the number of color levels (default = 64). |
Based on the tim.colors function in the fields package.
The tim.colors function here has been modified to break any dependence
on code in the fields package. Spline interpolation
(interpSpline) is used when the number of requested colors is not the
default.
A vector of character strings giving the colors in hexadecimal format.
Tim Hoar (GSP-NCAR); modified by Brandon Whitcher
hotmetal, topo.colors,
terrain.colors
tim.colors(10)
image(outer(1:20, 1:20, "+"), col=tim.colors(75), main="tim.colors")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.