[R] graph layout

Uwe Ligges ligges at statistik.tu-dortmund.de
Tue Mar 26 18:19:54 CET 2013



On 26.03.2013 14:49, Shane Carey wrote:
> Hi,
>
> Is it possible to use par() within par()? Something like:
> par(mfcol=c(2,2),mar=c(4.5,4.5,2,2))
> op  <- par(las=1,xaxs="r",mai=c(1,0.75,1,1))
> plot(hist(x),main="",xlim=c(0,100),xaxt="n",yaxt="n",xlab="",ylab="",border="white")
> axis(1,at=c(0,20,40,60,80,100),line=-1,cex.axis=0.7,padj=-1.5)
> par(new=TRUE)
> y<-hist(log10(x))
> par(op)
>
> plot(sort(log10(x)))

Yes, as you can see. And now the question is?????

Uwe Ligges



>
> dev.off()
>
> Thanks
>



More information about the R-help mailing list