colourbar: plot a colour bar

Description Usage Arguments

Description

Adds a colour bar with the specified colours and levels

Usage

1
2
colourbar(levels, colours = NULL, side = 1, units = "",
  hadj.units = 0.5, ...)

Arguments

levels

a vector with the levels to be used for the distinct colours or a list with components levels and colours

colours

a vector of the colours to be used with the respective levels

side

side at which axis labels are to be shown

units

text for units of colourbar (at right, top end of colour bar

hadj.units

horizontal adjustment of units string

...

additional arguments passed to axis


jonasbhend/myhelpers documentation built on May 19, 2019, 7:27 p.m.