Gray scale Color Palette

Description

generate a gray scale color palette

Usage

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

Arguments

n

number of colors to produce

acol

RGB color

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.

Value

n characters used for color palette

Author(s)

Jonathan M. Lees<jonathan.lees.edu>

See Also

shade.col, rainbow, colors

Examples

1
pal <- JBLACK(100)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.