powered by
SST colours
sst_pal(x, palette = FALSE, alpha = 1, ...)sstPal(x, palette = FALSE, alpha = 1, ...)
sstPal(x, palette = FALSE, alpha = 1, ...)
colours, palette, or function, see Details
a vector of data values or a single number
logical, if TRUE return a list with matching colours and values
TRUE
value in 0,1 to specify opacity
currently ignored
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))
Run the code above in your browser using DataLab