[R] one problem about how to hold graphic with R

Ben Bolker bolker at zoo.ufl.edu
Tue Oct 31 15:13:09 CET 2006


Gavin Simpson <gavin.simpson <at> ucl.ac.uk> writes:

> 
> On Tue, 2006-10-31 at 21:36 +0800, yang baohua wrote:
> > Sorry to disturb you, but can you help me to solve one little problem?
> > I want to draw a graphic after another with R
> > but I cannot find the first one after that.
> > Do you know the command to hold the graphic with R?
> > I remember with Matlab you may use "hold on".
> > Thanks.
> > 
> > 
> 
[snip]
> 
> Is this what you were looking for?
> 
> HTH
> 
> G

  Actually, it sounds more like what yang wants is

par(new=TRUE)

  Ben Bolker



More information about the R-help mailing list