Learn R Programming

RPMG (version 2.2-7)

Gcols: Get Color Palette

Description

Get Color Palette

Usage

Gcols(plow = 10, phi = 10, N = 100, pal = "rainbow", mingray = 0.5)

Value

c(LOW , Z, HI) color palette

Arguments

plow

lowest number for color selection

phi

highest number for color selection

N

number of colors

pal

color palette name

mingray

lower end is blanked out and replaced by gray

Author

Jonathan M. Lees<jonathan.lees.edu>

See Also

tomo.colors, shade.col

Examples

Run this code

TPALS = c("rainbow", "topo.colors", "terrain.colors", "heat.colors", "tomo.col")

 pal = Gcols(plow=5, phi=0,  N=100, pal=TPALS[3])

Run the code above in your browser using DataLab