| oceColorsPAR {oce} | R Documentation |
Create a set of colors for displaying PAR values,
based on the scheme devised by Kristen M. Thyng
in her cmcolor Python package, which is 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.
oceColorsPAR(n)
n |
number of colors to create. |
A vector of color specificications.
Krysten M. Thyng (Python version), Dan Kelley (R transliteration)
Other things related to colors: colormap,
oceColors9B, oceColorsCDOM,
oceColorsChlorophyll,
oceColorsClosure,
oceColorsDensity,
oceColorsFreesurface,
oceColorsGebco, oceColorsJet,
oceColorsOxygen,
oceColorsPalette,
oceColorsPhase,
oceColorsSalinity,
oceColorsTemperature,
oceColorsTurbidity,
oceColorsTwo,
oceColorsVelocity,
oceColorsViridis,
oceColorsVorticity, ocecolors
library(oce)
imagep(volcano, col=oceColorsPAR(128),
zlab="oceColorsPAR")