powered by
Create colors ranging between two specified limits, with white in the middle.
oceColorsTwo(n, low = 2/3, high = 0, smax = 1, alpha = 1)
number of colors to generate.
numerical values (in range 0 to 1) specifying the hue for the low and high ends of the color scale.
numerical value (in range 0 to 1) for the color saturation.
numerical value (in ragne 0 to 1) for the alpha (transparency) of the colors.
Other things related to colors: colormap, oceColors9B, oceColorsCDOM, oceColorsChlorophyll, oceColorsClosure, oceColorsDensity, oceColorsFreesurface, oceColorsGebco, oceColorsJet, oceColorsOxygen, oceColorsPAR, oceColorsPalette, oceColorsPhase, oceColorsSalinity, oceColorsTemperature, oceColorsTurbidity, oceColorsVelocity, oceColorsViridis, oceColorsVorticity, ocecolors
colormap
oceColors9B
oceColorsCDOM
oceColorsChlorophyll
oceColorsClosure
oceColorsDensity
oceColorsFreesurface
oceColorsGebco
oceColorsJet
oceColorsOxygen
oceColorsPAR
oceColorsPalette
oceColorsPhase
oceColorsSalinity
oceColorsTemperature
oceColorsTurbidity
oceColorsVelocity
oceColorsViridis
oceColorsVorticity
ocecolors
# NOT RUN { library(oce) imagep(volcano-mean(range(volcano)), col=oceColorsTwo(128), zlim="symmetric", zlab="oceColorsTwo") # }
Run the code above in your browser using DataLab