plot_add {ggplot} | R Documentation |
Add graphical objects using specific mapping.
plot_add(plot=.PLOT, data=NULL, map="point", aesthetics=list(), ...)
plot |
plot object |
data |
data to use |
map |
how to map data into graphics object |
aesthetics |
arguments passed down to mapping object specifying (eg.) aesthetics to use |
... |
This is the powerhouse function that you use to actually display stuff on your plot.
You should really keep track of the new plot object that is created
by this function, but if you're lazy and don't want to, it automatically
stores the result in the "global" variable .PLOT
Hadley Wickham <h.wickham@gmail.com>