oc.theme: SeaWiFS ocean colour colours

View source: R/colours.R

oc.themeR Documentation

SeaWiFS ocean colour colours

Description

Generate ocean colour colours, using the SeaWiFS scheme

Usage

oc.theme(x = 50)

oc.colors(n)

Arguments

x

Number of colours to generate as part of a theme

n

Number of colours to generate

Details

This is a high-contrast palette, log-scaled originally for ocean chlorophyll.

Value

A set of colours or a theme object.

See Also

Similar functions in sp spplot, bpy.colors

Examples

 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)

trip documentation built on July 9, 2023, 7:29 p.m.