Hi If I do this: par(mfrow=c(2,2)) persp(matrix(1:4,6,6),box=F,phi=33,theta=33) persp(matrix(1:4,6,6),box=F,phi=33,theta=33) persp(matrix(1:4,6,6),box=F,phi=33,theta=33) persp(matrix(1:4,6,6),box=F,phi=33,theta=33) ( or indeed layout(matrix(1:4,2,2)) persp . . . . ) then the mesh plots look too small to me. How do I make them larger? -- Robin Hankin Uncertainty Analyst National Oceanography Centre, Southampton European Way, Southampton SO14 3ZH, UK tel 023-8059-7743
On Wed, 21 Sep 2005, Robin Hankin wrote:> If I do this: > > par(mfrow=c(2,2)) > persp(matrix(1:4,6,6),box=F,phi=33,theta=33) > persp(matrix(1:4,6,6),box=F,phi=33,theta=33) > persp(matrix(1:4,6,6),box=F,phi=33,theta=33) > persp(matrix(1:4,6,6),box=F,phi=33,theta=33) > > > ( > or indeed > > layout(matrix(1:4,2,2)) > persp . . . . > ) > > > then the mesh plots look too small to me. How do I make them larger?By reducing the size of the plot margins, which are taking up a lot of the space and you are not using. Use par's mai or mar, and see `An Introduction to R' to understand plot layouts. The effect is seen with just a single version of your example. -- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
Robin Hankin <r.hankin <at> noc.soton.ac.uk> writes:> > par(mfrow=c(2,2)) > persp(matrix(1:4,6,6),box=F,phi=33,theta=33) > persp(matrix(1:4,6,6),box=F,phi=33,theta=33) > persp(matrix(1:4,6,6),box=F,phi=33,theta=33) > persp(matrix(1:4,6,6),box=F,phi=33,theta=33)...> then the mesh plots look too small to me. How do I make them larger?Try par(mfrow=c(2,2),mar=c(0,0,0,0)) Dieter
Robin Hankin wrote:> Hi > > If I do this: > > par(mfrow=c(2,2))Insert: par(mar=rep(0,4)) Uwe Ligges> persp(matrix(1:4,6,6),box=F,phi=33,theta=33) > persp(matrix(1:4,6,6),box=F,phi=33,theta=33) > persp(matrix(1:4,6,6),box=F,phi=33,theta=33) > persp(matrix(1:4,6,6),box=F,phi=33,theta=33) > > > ( > or indeed > > layout(matrix(1:4,2,2)) > persp . . . . > ) > > > then the mesh plots look too small to me. How do I make them larger? > > > > -- > Robin Hankin > Uncertainty Analyst > National Oceanography Centre, Southampton > European Way, Southampton SO14 3ZH, UK > tel 023-8059-7743 > > ______________________________________________ > R-help at 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