[R] size of subplots with par() / layout()

Uwe Ligges ligges at statistik.uni-dortmund.de
Wed Sep 21 16:06:09 CEST 2005


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




More information about the R-help mailing list