[R] how to overlay many plot windows in a sigle frame

Uwe Ligges ligges at statistik.uni-dortmund.de
Wed Nov 2 12:53:27 CET 2005


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
>>
> 
>




More information about the R-help mailing list