palettes: Matlab-like Palettes Two palettes going from blue over green...

Description Usage Arguments Value Author(s) See Also Examples

Description

Matlab-like Palettes Two palettes going from blue over green to red, approximately as the standard palette of Matlab does. The second one has darker green values and is better suited for plotting lines on white background.

Usage

1
2
3
4
5

Arguments

n

the number of colors to be in the palette.

...

further arguments are handed to rainbow (alois.palette: colorRampPalette)

Value

A vector containing the color values in the form "\#rrbbggaa".

Author(s)

C. Beleites and A. Bonifacio

See Also

rainbow

Examples

1
2
3
4
5
6
plotmap (chondro [,, 778], col.regions = matlab.palette ())


plot (flu, col = matlab.dark.palette (nrow (flu)))

plotmap (chondro, col = alois.palette)

GegznaV/hyperSpec2 documentation built on Dec. 27, 2019, 9:43 a.m.