oc.theme | R Documentation |
Generate ocean colour colours, using the SeaWiFS scheme
oc.theme(x = 50)
oc.colors(n)
x |
Number of colours to generate as part of a theme |
n |
Number of colours to generate |
This is a high-contrast palette, log-scaled originally for ocean chlorophyll.
A set of colours or a theme object.
Similar functions in sp spplot
,
bpy.colors
oc.colors(10)
library(lattice)
trellis.par.set(oc.theme())
d <- data.frame(x=1:10, y=rnorm(10), tms=Sys.time() + 1:10, id=gl(2, 5))
tr <- trip(d)
tg <- tripGrid(tr)
plot(tg)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.