Learn R Programming

trip (version 1.1-2)

oc.theme: 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

Value

  • A set of colours or a theme object.

Details

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

See Also

Similar functions in sp sp.theme, bpy.colors

Examples

Run this code
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