[R] spliting windows 5 frames.

jim holtman jholtman at gmail.com
Sun Dec 9 00:53:43 CET 2007


?layout

try:

layout(rbind(c(1, 2, 3),
             c(1, 4, 5)), widths=c(2, 1, 1))
layout.show(5)


and see if this is what you want.

On Dec 8, 2007 3:38 PM, Milton Cezar Ribeiro <milton_ruser at yahoo.com.br> wrote:
> Dear all,
>
> I need split the output windows into two "frames" of equal size.
> On first frame I will print only a image, and on second frame I will print out for graphs (like those automaticaly generated by plot of a glm model.
> Below follow a visual which I looking for.
>
>
> x11(width=10,height=8)
> oldpar<-par()
> par(xaxt="n",yaxt="n")
> plot(c(0,10),c(0,10),type="n",xlab="",ylab="",col=0)
> polygon(c(0,4.8,4.8,0,0),c(1,1,9,9,1))
> polygon(c(10,5.2,5.2,10,10),c(1,1,9,9,1))
> polygon(c(5.5,7.4,7.4,5.5,5.5),c(5.5,5.5,8.3,8.3,5.5))
> polygon(c(5.5,7.4,7.4,5.5,5.5),c(2,2,5,5,2))
> polygon(c(7.7,9.7,9.7,7.7,7.7),c(5.5,5.5,8.3,8.3,5.5))
> polygon(c(7.7,9.7,9.7,7.7,7.7),c(2,2,5,5,2))
> par<-(oldpar)
>
>
> Thanks
>
> miltinho
> Brazil
>
>
>
>  para armazenamento!
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



-- 
Jim Holtman
Cincinnati, OH
+1 513 646 9390

What is the problem you are trying to solve?



More information about the R-help mailing list