Learn R Programming

oce (version 1.0-1)

oceColors9B: Create colors in a red-yellow-blue color scheme

Description

The results are similar to those of oceColorsJet, but with white hues in the centre, rather than green ones. The scheme may be useful in displaying signed quantities, and thus is somewhat analogous to oceColorsTwo, except that they (average) eye may be more able to distinguish colors with oceColors9B.

Usage

oceColors9B(n)

Arguments

n

number of colors

See Also

Other things related to colors: colormap, oceColorsCDOM, oceColorsChlorophyll, oceColorsClosure, oceColorsDensity, oceColorsFreesurface, oceColorsGebco, oceColorsJet, oceColorsOxygen, oceColorsPAR, oceColorsPalette, oceColorsPhase, oceColorsSalinity, oceColorsTemperature, oceColorsTurbidity, oceColorsTwo, oceColorsVelocity, oceColorsViridis, oceColorsVorticity, ocecolors

Examples

Run this code
# NOT RUN {
library(oce)
imagep(volcano, col=oceColors9B(128),
       zlab="oceColors9B")
# }

Run the code above in your browser using DataLab