| get_panel {cowplot} | R Documentation |
This function extracts just the main panel from a ggplot. It only works for plots with exactly one panel (i.e., plots that are not faceted).
get_panel(plot)
plot |
A ggplot or gtable from which to retrieve the panel |
A gtable object holding just the panel