[
top
|
up
]
Color Palettes
Syntax
heat.colors(n) topo.colors(n) terrain.colors(n)
Arguments
n
the number of colors in the palette.
Description
These functions create a palette of
n
colors which can be used as input to functions such as
image
and
contour
.
See Also
colors
,
rainbow
,
rgb
,
hsv
,
gray
.
Examples
for(n in 1:8) print(heat.colors(n), quote = F) cbind(topo.colors(8)) terrain.colors(6)