gebco.colors {oce}R Documentation

GEBCO colors

Description

Return colors as used on GEBCO charts of ocean depth.

Usage

gebco.colors(n=9, region=c("water", "land", "both"), type=c("fill","line"))

Arguments

n number of colors to return.
region Either "water" (blue colors), "land" (brown colors), or "both" (brown, then blue).
type Either "fill" (colours that look good with images, or filled contours) or "line" (colors that are darker overall, and that thus look better for lines on a white background.

Details

It is possible to establish any desired mapping from color to depth. The "line" data set is taken by GEBCO to correspond to depth maxima 5000, 4000, 3000, 2000, 1500, 1000, 500, 250, 100, 75, 50, 25, 10, 0.

Value

A list of colors, as for terrain.colors and similar routines.

Author(s)

Dan Kelley

Source

The "fill" colours came from scanning a chart, and adding a few lighter land colours by linear extrapolation. The "water" and "line" colours are from the figure IBCAO_GEBCO_comp_colortable_oc.jpg in Jakobsson et al.

References

Selective comparisons of GEBCO (1979) and IBCAO (2000) maps, Martin Jakobsson, Ron Macnab, and Members of the Editorial Board, IBCAO. http://www.ngdc.noaa.gov/mgg/bathymetry/arctic/ibcao_gebco_comp.html

Examples

plot(1:10, 1:10, col=gebco.colors(10, "water", "line"), cex=5, pch=20)

[Package oce version 0.1-76 Index]