Learn R Programming

RSEIS (version 3.7-4)

JBLACK: Gray scale Color Palette

Description

generate a gray scale color palette

Usage

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

Arguments

n

number of colors to produce

acol

RGB color

Value

n characters used for color palette

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
# NOT RUN {
pal <- JBLACK(100)

# }

Run the code above in your browser using DataLab