bpy.colors {gstat}R Documentation

blue-pink-yellow color scheme that prints well as grey tone

Description

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

Usage

 bpy.colors(n = 100, cutoff.tails = 0.1) 

Arguments

n number of colors (>= 1) to be in the palette
cutoff.tails tail fraction to be cut off. This palette runs from black to white if cutoff.tails is 0; by cutting off the tails, it runs from blue to yellow, which looks nicer.

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'.

Note

This color map prints well on black-and-white printers.

Author(s)

unknown

References

http://www.ihe.uni-karlsruhe.de/mitarbeiter/vonhagen/palette.en.html; gnuplot has this color map

See Also

rainbow, cm.colors

Examples

bpy.colors(10)
p <- expand.grid(x=1:30,y=1:30)
p$z <- p$x + p$y
image(p, col = bpy.colors(100))
# require(lattice)
# trellis.par.set("regions", list(col=bpy.colors())) # make default

[Package gstat version 0.9-21 Index]