Description Usage Arguments Value
Given a plot generated with ggplot(), separate and return only the legend component
1 | g_legend(plt)
|
a.gplot |
a plot generated by ggplot() |
the legend of a.gplot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.