[R-sig-Geo] Putting Multiple spplots in the same page

2012-07-17 Thread Roosbeh Nowrouzian
Dear List members: While par(mfrow=c(i,j)) works for plot function, I met a problem with spplot function. Even after defining e.g. par(mfrow=c(2,2)) The spplot draws each figure separately.Here is an example: par(mfrow=c(2,2)) data(meuse) coordinates(meuse) - ~x+y spplot ( meuse, zinc)

Re: [R-sig-Geo] Putting Multiple spplots in the same page

2012-07-17 Thread Barry Rowlingson
On Tue, Jul 17, 2012 at 5:19 PM, Roosbeh Nowrouzian roosbeh.nowrouz...@gmail.com wrote: Dear List members: While par(mfrow=c(i,j)) works for plot function, I met a problem with spplot function. Even after defining e.g. par(mfrow=c(2,2)) The spplot draws each figure separately.Here is an

Re: [R-sig-Geo] Putting Multiple spplots in the same page

2012-07-17 Thread Samuel Turgeon
Hi, you can also do: library(gstat) data(meuse) coordinates(meuse) - ~x+y p1=spplot ( meuse, zinc) p2=spplot(meuse,copper) p3=spplot(meuse,lead) p4=spplot(meuse,cadmium) print(p1, position = c(0,.5,.5,1),more=T) print(p2, position = c(.5,.5,1,1),more = T) print(p3, position =