[R] Re tain current graphs in figure

John Kane jrkrideau at yahoo.ca
Sat Sep 26 18:24:20 CEST 2009


Depends on the graphing system. 

For basic graphics have a look at
?points
?line
?par(new)

for varous options

ggplot2 is designed pretty much to do this so you might want to have a look at its documentation.  

Not sure about lattice as don't use it.

--- On Thu, 9/24/09, Natalie Wong <smartcookie555 at live.com> wrote:

> From: Natalie Wong <smartcookie555 at live.com>
> Subject: [R] Re tain current graphs in figure
> To: r-help at r-project.org
> Received: Thursday, September 24, 2009, 11:31 PM
> 
> I want to know, how do I retain the current plot and axes
> properties such
> that subsequent graphing commands add to the existing
> graph.
> 
> Thank you very much!!
> 
> -- 
> View this message in context: http://www.nabble.com/Retain-current-graphs-in-figure-tp25606069p25606069.html
> Sent from the R help mailing list archive at Nabble.com.
> 
> ______________________________________________
> R-help at r-project.org
> mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained,
> reproducible code.
> 


      __________________________________________________________________
[[elided Yahoo spam]]




More information about the R-help mailing list