Learn R Programming

shape (version 1.4.6.1)

femmecol: red-green-blue color palette

Description

Creates a vector of (n) contiguous colors (darkblue-blue-cyan-yellow-red-darkred).

Usage

femmecol(n = 100)

Value

a vector of character strings giving the colors in hexadecimal format

Arguments

n

number of colors.

Author

Karline Soetaert <karline.soetaert@nioz.nl>

See Also

rainbow, heat.colors, topo.colors, the comparable R-functions.

intpalette, shadepalette

Examples

Run this code
filled.contour(volcano, color = femmecol, asp = 1, main = "femmecol")
femmecol(10)
image(matrix(nrow = 1, ncol = 100, data = 1:100), 
      col = femmecol(100), main = "femmecol")

Run the code above in your browser using DataLab