remove_ggplot_legend | R Documentation |
Remove the legend(s) from a ggplot
remove_ggplot_legend(x)
x |
A ggplot2 object |
The object with legends hidden.
Other plot legend helpers:
extract_ggplot_legend()
,
plot_grid_one_legend()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.