plot_add {ggplot}R Documentation

Plot add.

Description

Add graphical objects using specific mapping.

Usage

plot_add(plot=.PLOT, data=NULL, map="point", aesthetics=list(), ...)

Arguments

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
...

Details

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

Author(s)

Hadley Wickham <h.wickham@gmail.com>


[Package ggplot version 0.4.2 Index]