Function for Generating a legend from a palette
1 | plotPalette(pal, fileName = "legend.svg")
|
pal |
the Palette to plot |
fileName |
location of the svg image legend |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.