get-legend: get_legend

get_legendR 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


ggfun documentation built on Oct. 30, 2024, 9:13 a.m.