Build a Legend
Arguments
- x
A
data.frame
returned byprepare_plot()
.- args
A
list
of additional arguments to be passed tographics::legend()
; names of the list are used as argument names. IfNULL
or empty, no legend is displayed.- points
A
logical
scalar: legend for points?- lines
A
logical
scalar: legend for lines?