gebco.colors {oce} | R Documentation |
Return colors as used on GEBCO charts of ocean depth.
gebco.colors(n=9, region=c("water", "land", "both"), type=c("fill","line"))
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. |
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.
A list of colors, as for terrain.colors
and similar routines.
Dan Kelley
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.
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
plot(1:10, 1:10, col=gebco.colors(10, "water", "line"), cex=5, pch=20)