[R] space between plots

2008-04-18 Thread Agustin Lobo
I've set layout(matrix(c(1,3,2,4),ncol=2)) and par(mar=c(0, 4, 4, 0) + 0.0) and par(mar=c(0, 0, 4, 3) + 0.0) for the upper-left and upper-right plots, but still get an space between both plots, is there any way to completely eliminate that space? Thanks Agus -- Dr. Agustin Lobo Institut de

Re: [R] space between plots

2008-04-18 Thread jim holtman
When I try this: layout(matrix(c(1,3,2,4),ncol=2)) par(mar=c(0, 4, 4, 0) + 0.0) plot(1) par(mar=c(0, 0, 4, 3) + 0.0) plot(2) plot(3) plot(4) the upper left and right are butted together. Exactly what 'space' are you talking about? On Fri, Apr 18, 2008 at 4:19 AM, Agustin Lobo [EMAIL

Re: [R] space between plots

2008-04-18 Thread Agustin Lobo
ok, I see: I was confused because the box goes a bit beyond the axes: layout(matrix(c(1,3,2,4),ncol=2)) par(mar=c(0, 4, 4, 0) + 0.0) plot(1,yaxt=n) par(mar=c(0, 0, 4, 3) + 0.0) plot(2,bty=n,yaxt=n) ...and I'm not plotting the box in my graphic. Thanks Agus jim holtman escribió: When I try