Learn R Programming

RSEIS (version 4.2-4)

JBLACK: Gray scale Color Palette

Description

generate a gray scale color palette

Usage

JBLACK(n, acol=rgb(0,0,0))

Value

n characters used for color palette

Arguments

n

number of colors to produce

acol

RGB color

Author

Jonathan M. Lees<jonathan.lees.edu>

Details

Creates a black color palette suitable for replacing rainbow for B/W color plots. This is inserted in case user needs to completely elliminate color from a plot that uses color palettes for fixing colors.

See Also

shade.col, rainbow, colors

Examples

Run this code
pal <- JBLACK(100)

Run the code above in your browser using DataLab