jet.colors | R Documentation |
Creates a vector of n
colors beginning with dark blue, ranging through
shades of blue, cyan, green, yellow and red, and ending with dark red.
jet.colors(n)
n |
numeric scalar specifying number of colors to be in the palette |
Returns vector of n
color names. This can be used either to create
a user-defined color palette for subsequent graphics, a col=
specification in graphics functions, or in par
.
P. Roebuck proebuck1701@gmail.com
palette
,
par
,
rgb
require(graphics)
x <- 1:16
pie(x, col=jet.colors(length(x)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.