powered by
Generate ocean colour colours, using the SeaWiFS scheme
oc.theme(x = 50)oc.colors(n)
oc.colors(n)
Number of colours to generate as part of a theme
Number of colours to generate
A set of colours or a theme object.
This is a high-contrast palette, log-scaled originally for ocean chlorophyll.
Similar functions in sp sp.theme, bpy.colors
sp.theme
bpy.colors
# NOT RUN { oc.colors(10) library(lattice) trellis.par.set(oc.theme()) utils::example("trip-methods", package="trip", ask=FALSE, echo=FALSE) tg <- tripGrid(tr) spplot(tg) # }
Run the code above in your browser using DataLab