vol_colormaps: Colour tables the renderer carries

View source: R/colormaps.R

vol_colormapsR Documentation

Colour tables the renderer carries

Description

Names the perceptually uniform colour tables that the payload writes into its lookup image and that the viewer offers in its menu.

Usage

vol_colormaps()

Details

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.

Value

A character vector of table names, in the order the viewer lists them.

References

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")}

See Also

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.

Examples

vol_colormaps()

volumr documentation built on Dec. 2, 2026, 5:07 p.m.