Yogesh K. Tiwari
2005-Nov-02 11:17 UTC
[R] how to overlay many plot windows in a sigle frame
Hello R Users, I want to plot many windows in a single frame. For example, suppose I have to plot the vertical profile of the aircraft co2 measurement in different months in a year, and I want to plot these different months in separate windows but the final 12 plots I want to keep in single frame. So how I can do this in R. There would be any overlay command after ploting the first winodw so I can send the second plot window in the same frame, side by side with the old window. How I can do this ? Many thanks for help, Regards, Yogesh -- ==========================================Yogesh Tiwari, Max-Planck Institute for Biogeochemistry, Hans-Knoell Strasse 10, D-07745 Jena, Germany Office : 0049 3641 576 376 Home : 0049 3641 223 163 Fax : 0049 3641 577 300 Cell : 0049 1520 4591 008 e-mail : yogesh.tiwari at bgc-jena.mpg.de
On Wed, 2 Nov 2005, Yogesh K. Tiwari wrote:> Hello R Users, > > I want to plot many windows in a single frame.?par opar <- par(mfrow=c(3,4)) for (i in 1:12) plot(runif(i*10)) par(opar)> > For example, suppose I have to plot the > vertical profile of the aircraft co2 > measurement in different months in a year, > and I want to plot these different months in > separate windows but the final 12 plots I > want to keep in single frame. So how I can do > this in R. > > There would be any overlay command after > ploting the first winodw so I can send the > second plot window in the same frame, side by > side with the old window. > > How I can do this ? > > Many thanks for help, > > Regards, > Yogesh >-- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business Administration, Helleveien 30, N-5045 Bergen, Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43 e-mail: Roger.Bivand at nhh.no
Roger Bivand wrote:> On Wed, 2 Nov 2005, Yogesh K. Tiwari wrote: > > >>Hello R Users, >> >>I want to plot many windows in a single frame. > > > ?par > > opar <- par(mfrow=c(3,4)) > for (i in 1:12) plot(runif(i*10)) > par(opar)Alternatively, maybe some lattice graphics for the perticular case mentioned below where the arrangement takes place automatically? Uwe Ligges> > > >>For example, suppose I have to plot the >>vertical profile of the aircraft co2 >>measurement in different months in a year, >>and I want to plot these different months in >>separate windows but the final 12 plots I >>want to keep in single frame. So how I can do >>this in R. >> >>There would be any overlay command after >>ploting the first winodw so I can send the >>second plot window in the same frame, side by >>side with the old window. >> >>How I can do this ? >> >>Many thanks for help, >> >>Regards, >>Yogesh >> > >