shape (version 1.4.4)

femmecol: red-green-blue color palette

Description

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

Usage

femmecol(n = 100)

Arguments

n

number of colors.

Value

a vector of character strings giving the colors in hexadecimal format

See Also

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

intpalette, shadepalette

Examples

Run this code
# NOT RUN {
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