mchcol: Make MeteoSwiss Colour Tables Accessible

Description Usage Arguments Note

Description

Interpolate standard, fixed-length MeteoSwiss colour tables to varying number of colours (end points are fixed).

Usage

1
mchcol(colfun = "colkd.temp.anom", n = 11, midcol = "#FFFFFF")

Arguments

colfun

name of function from package colkd providing colour tables

n

length of colours to output

midcol

colour to be used for central element in diverging colour scales with uneven number of colours (defaults to white).

Note

In case the package colkd is not available, diverge_hcl from package colorspace is used to generate colour tables instead.


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