get_legend {ggfun} | R Documentation |
get_legend
Description
extract legend from a plot
Usage
get_legend(plot)
Arguments
plot |
a gg or gtable object |
Value
a 'gtable' object of the legend
Author(s)
Guangchuang Yu
[Package ggfun version 0.1.5 Index]