Description Usage Arguments Value
Add a color bar (useful for heatmaps or maps)
1 | addColorBar(x, y, z, color = rainbow(100))
|
x |
x-position where to plot the color ramp |
y |
y-position where to plot the color ramp |
z |
vector of values for the color ramp (doesn't have to be evenly space sequence) |
nothing
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.