Description Usage Arguments Value Examples
Grab the legend from a ggplot object and use it for saving in its own file
1 | g_legend(a.gplot)
|
a.gplot |
ggplot plot object with a color / fill legend |
A new ggplot object with only the legend
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.