JGRAY: Gray scale Color Palette

JGRAYR 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)


RSEIS documentation built on Sept. 13, 2024, 1:09 a.m.