getLegendList: Function to get legend information from ggplot
Description
Function to get legend information from ggplot
Usage
getLegendList(plistextra)
Arguments
plistextra
output from ggplot2::ggplot_build(p)
Value
list containing information for each legend