R: Gray scale Color Palette

JBLACK {RSEIS} | R Documentation

## 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

### 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

    pal <- JBLACK(100)

[Package RSEIS version 3.7-4 Index]