oceColorsGebco: Create colors in a Gebco-like scheme

Description Usage Arguments See Also Examples

View source: R/oce.R

Description

The colours were determined by examination of paper charts printed during the GEBCO Fifth Edition era. The hues range from dark blue to light blue, then from light brown to dark brown. If used to show topography in scheme centred on z=0, this means that near-coastal regions are light in tone, with darker colours representing both mountains and the deep sea.

Usage

1
2
3
4
5
6
oceColorsGebco(
  n = 9,
  region = c("water", "land", "both"),
  type = c("fill", "line"),
  debug = getOption("oceDebug")
)

Arguments

n

Number of colors to return

region

String indicating application region, one of "water", "land", or "both".

type

String indicating the purpose, one of "fill" or "line".

debug

a flag that turns on debugging.

See Also

Other things related to colors: colormapGMT(), colormap(), oceColors9B(), oceColorsCDOM(), oceColorsChlorophyll(), oceColorsClosure(), oceColorsDensity(), oceColorsFreesurface(), oceColorsJet(), oceColorsOxygen(), oceColorsPAR(), oceColorsPalette(), oceColorsPhase(), oceColorsSalinity(), oceColorsTemperature(), oceColorsTurbidity(), oceColorsTurbo(), oceColorsTwo(), oceColorsVelocity(), oceColorsViridis(), oceColorsVorticity(), ocecolors

Examples

1
2
library(oce)
imagep(volcano, col=oceColorsGebco(128, region="both"))

oce documentation built on Jan. 9, 2022, 1:06 a.m.