Last chance! 50% off unlimited learning
Sale ends in
Create a set of colors for displaying salinity values,
based on the scheme devised by Kristen M. Thyng
in her cmcolor
Python package
(available at https://github.com/kthyng/cmocean). The
color specifications were downloaded for use here
on 2015-09-29. To avoid changes in oce
scripts,
more recent changes to cmcolor
have not been
tracked; oceColorsClosure()
has an example of how to incorporate such changes.
oceColorsSalinity(n)
number of colors to create.
A vector of color specifications.
Other things related to colors:
colormap()
,
oceColors9B()
,
oceColorsCDOM()
,
oceColorsChlorophyll()
,
oceColorsClosure()
,
oceColorsDensity()
,
oceColorsFreesurface()
,
oceColorsGebco()
,
oceColorsJet()
,
oceColorsOxygen()
,
oceColorsPAR()
,
oceColorsPalette()
,
oceColorsPhase()
,
oceColorsTemperature()
,
oceColorsTurbidity()
,
oceColorsTwo()
,
oceColorsVelocity()
,
oceColorsViridis()
,
oceColorsVorticity()
,
ocecolors
# NOT RUN {
library(oce)
imagep(volcano, col=oceColorsSalinity(128),
zlab="oceColorsSalinity")
# }
Run the code above in your browser using DataLab