colRibbon: Add a custom colour ramp to a plot

Description Usage

View source: R/mapcomponents.R

Description

This function gives greater flexibility for the plotting of colour ramps for maps and other plots.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
colRibbon(
  lut,
  breaks,
  xlim,
  ylim,
  nticks = 3,
  ticksize = 0.3,
  labels = TRUE,
  at = NULL,
  vertical = TRUE,
  border.box = NULL,
  col.ticks = "black",
  col.labs = "black",
  lwd.box = 1,
  lwd.ticks = 1,
  lty.box = "solid",
  lty.ticks = "solid",
  offset.labs = 0.5,
  cex.labs = 0.7,
  font.labs = 1,
  ...
)

ahb108/sparch documentation built on Feb. 3, 2021, 1:21 a.m.