Description Usage Arguments Value Examples
Generate colours for use in a surface display with package rgl
1 2 3 4 5 6 7 | rglColors(
z,
pal = pal_pastels,
no = length(unique(z)),
col = fill,
fill = pal(no)
)
|
z |
A numeric matrix of heights |
pal |
a colour palette to use |
no |
the number of colours to use |
col, fill |
Alternative names for the colours to use |
a colour vector suitable for use with rgl surface displays
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.