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 <smartcookie...@live.com> wrote: > From: Natalie Wong <smartcookie...@live.com> > Subject: [R] Re tain current graphs in figure > To: r-help@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@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]] ______________________________________________ R-help@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.