| vol_colormaps | R Documentation |
Names the perceptually uniform colour tables that the payload writes into its lookup image and that the viewer offers in its menu.
vol_colormaps()
Colour tables the renderer carries
The tables are the oceanographic set of Thyng et al. (2016), stored
in the package as 256 sampled colours each so that a payload is written
without the cmocean package installed. matter runs from pale cream
through orange to dark purple and suits a positive, strongly skewed field;
thermal and haline are the temperature and salinity tables; deep and
dense reverse the light and dark ends, which matters when the background
is white.
A character vector of table names, in the order the viewer lists them.
Thyng, K. M., Greene, C. A., Hetland, R. D., Zimmerle, H. M., & DiMarco, S. F. (2016). True colors of oceanography: guidelines for effective and accurate colormap selection. Oceanography, 29(3), 9-13. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.5670/oceanog.2016.66")}
vol_payload(), which writes these into the payload,
plot.vol_field(), which uses one of them, and vol_widget(), whose
cmap option selects one by position.
vol_colormaps()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.