JGRAY {RSEIS} | R Documentation |
Gray scale Color Palette
Description
generate a gray scale color palette
Usage
JGRAY(n)
Arguments
n |
number of colors to produce |
Details
Creates a grey scale color palette suitable for replacing rainbow for grey shade plots.
Value
n characters used for color palette
Author(s)
Jonathan M. Lees<jonathan.lees.edu>
See Also
shade.col, rainbow, colors
Examples
pal <- JGRAY(100)
data(volcano)
image(volcano, col=pal)
[Package RSEIS version 4.2-0 Index]