plot_grid_one_legend | R Documentation |
Extract the legend from the first figure, remove the legends from all plots, and put the legend at the end.
plot_grid_one_legend(...)
... |
One or more ggplot2 objects |
A list of the ggplot2 objects (suitable for the plotlist
argument of cowplot::plot_grid
)
Other plot legend helpers:
extract_ggplot_legend()
,
remove_ggplot_legend()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.