Learn R Programming

RSEIS (version 2.1-6)

Gcols: Get Color Palette

Description

Get Color Palette

Usage

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

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

Value

  • c(LOW , Z, HI) color palette

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