Description Usage Arguments
View source: R/plots.R
Extract a legend from a plot generated with ggplot
1
getLegend(plt)
plt
a plot generated with ggplot
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.