Legend for a continuous color scale in R, from https://aurelienmadouasse.wordpress.com/2012/01/13/legend-for-a-continuous-color-scale-in-r/
1 | legend.col(col = rainbow(100), lev)
|
col |
ccol Color map (default is rainbow). |
lev |
Data used to produce colors in plot. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.