Learn R Programming

oce (version 1.7-10)

oceColorsGebco: Create colors in a Gebco-like scheme

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

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

Run this code
library(oce)
imagep(volcano, col=oceColorsGebco(128, region="both"))

Run the code above in your browser using DataLab