Learn R Programming

gstat (version 0.9-8)

bpy.colors: blue-pink-yellow color scheme

Description

Create a vector of `n' ``contiguous'' colors.

Usage

bpy.colors(n)

Arguments

n
number of colors (>= 1) to be in the palette

Value

  • A character vector, `cv', of color names. This can be used either to create a user-defined color palette for subsequent graphics by `palette(cv)', a `col=' specification in graphics functions or in `par'.

url

http://www.ihe.uni-karlsruhe.de/mitarbeiter/vonhagen/palette.en.html

References

see url; gnuplot has this color map

See Also

rainbow, cm.colors

Examples

Run this code
bpy.colors(10)
p <- expand.grid(x=1:30,y=1:30)
p$z <- p$x + p$y
image(p, col = bpy.colors(100))

Run the code above in your browser using DataLab