[R] Multiple lag.plots per page

From: Gad Abraham <g.abraham_at_ms.unimelb.edu.au>
Date: Tue 13 Jun 2006 - 12:16:26 EST


Hi,

I'm trying to plot several lag.plots on a page, however the second plot replaces the first one (although it only takes up the upper half as it should):

par(mfrow=c(2,1))
a<-sin(1:100)
b<-cos(1:100)
lag.plot(a)
lag.plot(b)

What's the trick to this?

I'm using R 2.2.1 (2005-12-20 r36812) on Ubuntu Linux.

Thanks,
Gad

-- 
Gad Abraham
Department of Mathematics and Statistics
University of Melbourne
Victoria 3010, Australia
email: g.abraham@ms.unimelb.edu.au
web: http://www.ms.unimelb.edu.au/~gabraham

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Tue Jun 13 12:39:30 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 13 Jun 2006 - 18:11:32 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.