Re: [R] Nested layout()

2010-12-17 Thread baptiste auguie
Hi, Also, see the gridbase package that gives you the flexibility of Grid viewports. HTH, baptiste On 17 December 2010 09:33, Jim Lemon wrote: > On 12/17/2010 02:00 PM, Dario Strbenac wrote: >> >> Hello, >> >> Is it possible to call a graphing function that uses layout() multiple >> times and

Re: [R] Nested layout()

2010-12-17 Thread Jim Lemon
On 12/17/2010 02:00 PM, Dario Strbenac wrote: Hello, Is it possible to call a graphing function that uses layout() multiple times and layout those outputs ? Here's a minimal example : myplot<- function() { layout(matrix(1:2, nrow=1), widths = c(1, 1)) plot(1:10) plot(10

Re: [R] Nested layout()

2010-12-16 Thread Peter Langfelder
On Thu, Dec 16, 2010 at 7:00 PM, Dario Strbenac wrote: > Hello, > > Is it possible to call a graphing function that uses layout() multiple times > and layout those outputs ? Here's a minimal example : > > myplot <- function() > { >        layout(matrix(1:2, nrow=1), widths = c(1, 1)) >        plo

[R] Nested layout()

2010-12-16 Thread Dario Strbenac
Hello, Is it possible to call a graphing function that uses layout() multiple times and layout those outputs ? Here's a minimal example : myplot <- function() { layout(matrix(1:2, nrow=1), widths = c(1, 1)) plot(1:10) plot(10:1) } layout(matrix(1:2), heights = c(1, 2)) m