Skip to content
Prev 42562 / 398506 Next

Using split.screen

NDC is a coordinate system with (0,0) at the bottom left and (1,1) at the 
top right of the device region.

Take a look at your matrix
[,1] [,2] [,3] [,4]
[1,]  0.0  0.0  0.5  0.5
[2,]  0.5  0.5  1.0  1.0
      left right bot top

so both your figures are 0 wide and 0 tall.  How about

split.screen(matrix(c(0,0.5,0,0.5,  0.5,1,0.5,1), byrow=T, ncol=4))

If you mess up the layout, you do need to do close.screen(all=TRUE) to 
proceed.
On Thu, 8 Jan 2004, Anon. wrote: