Re: [R] Creating grid graphics with grid.layout

2009-09-24 Thread Jeff Horner
ut.pos.* args is just to construct one larger viewport of the adjacent viewports, right? Thanks for the quick feedback! Jeff Paul Jeff Horner wrote: Hi, I recently created a function which uses grid with a viewport constructed with grid.layout() to position four plots on a plot device

[R] Creating grid graphics with grid.layout

2009-09-24 Thread Jeff Horner
Hi, I recently created a function which uses grid with a viewport constructed with grid.layout() to position four plots on a plot device. My question is what's the best way to programatically traverse each element of the viewport? The grid is 5x5 and the four plots occupy positions (2,2), (4