Description Usage Arguments Note
Interpolate standard, fixed-length MeteoSwiss colour tables to varying number of colours (end points are fixed).
1 | mchcol(colfun = "colkd.temp.anom", n = 11, midcol = "#FFFFFF")
|
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). |
In case the package colkd
is not available,
diverge_hcl
from package colorspace
is
used to generate colour tables instead.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.