satinPalette | R Documentation |
This function allows to design and visualise color palettes to be used in ocean data plots.
satinPalette(zmin, zmax, col.sep = 0.1, scheme = "default", visu = FALSE)
zmin |
lower limit in data units. |
zmax |
upper limit in data units. |
col.sep |
separation between colors in data units. |
scheme |
color scheme, either: "default" or a vector of valid color names. |
visu |
logical. If |
This function is mainly intended to be called by plot.satin
, however it is possible to use it directly in order to have a first impression of a custom color palette.
A list with two elements
palette |
a vector of colors. |
breaks |
a vector of color breaks. |
Héctor Villalobos
plot.satin
satinPalette(zmin = 10, zmax = 35, visu = TRUE) satinPalette(zmin = 10, zmax = 35, col.sep = 0.2, scheme = c("white", "blue", "black"), visu = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.