Learn R Programming

animint2 (version 2025.1.28)

getLegendList: Function to get legend information from ggplot

Description

Function to get legend information from ggplot

Usage

getLegendList(plistextra)

Value

list containing information for each legend

Arguments

plistextra

output from ggplot_build(p)