greycol: white-black color palette

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Creates a vector of (n) contiguous colors from white/grey to black

Usage

1
greycol(n = 100, interval = c(0.0, 0.7))

Arguments

n

number of colors.

interval

interval *to* where to interpolate.

Details

greycol is an alias of graycol

Value

a vector of character strings giving the colors in hexadecimal format.

Author(s)

Karline Soetaert <karline.soetaert@nioz.nl>

See Also

rainbow, heat.colors, topo.colors, femmecol

Examples

1
2
3
4
filled.contour(volcano, color = graycol, asp = 1, main = "greycol,graycol")
graycol(10)
image(matrix(nrow = 1, ncol = 100, data = 1:100),
      col = graycol(100), main = "greycol,graycol")


Search within the shape package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.