Description Usage Arguments
View source: R/functions.R
This function takes a ggplot2 object and extracts the legend as a grob.
1
g_legend(theplot)
theplot
A ggplot2 object.
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.