This function uses Rcss selector "scalelegend" to determine legend position.
1 2 |
legend |
- named vector of colors. Colors defining a color scale. All names associated with vector will be draw onto to the plot. (Set some names to "" to avoid labeling every single color in a color gradient) |
xlim |
- numeric vector of two elements. Gives range of x axis. |
ylim |
- numeric vector of two elements. Gives range of y axis. |
main |
- text two write above the legend |
RC |
- Rcss object. Style to use for plotting, uses package Rcssplot |
RCC |
- character vector. Classes to tune Rcssplot formatting. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.