sst_pal | R Documentation |
SST colours
sst_pal(x, palette = FALSE, alpha = 1, ...)
sstPal(x, palette = FALSE, alpha = 1, ...)
x |
a vector of data values or a single number |
palette |
logical, if |
alpha |
value in 0,1 to specify opacity |
... |
currently ignored |
colours, palette, or function, see Details
Derived from a file once found at 'http://oceancolor.gsfc.nasa.gov/DOCS/palette_sst.txt'
data(oisst)
sstcols <- sst_pal(palette = TRUE)
image(oisst, col = sstcols$col, zlim = range(sstcols$breaks))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.