[R] Arranging Plots

2005-05-19 Thread Rau, Roland
Dear all, I'd appreciate any hints how to arrange some plots. I have three plots. I would like to arrange them in the following order: - Plot 1 and Plot 2 should be in the upper row - Plot 3 should be in the lower row but centered in the middle. I hope the following sketch will help

Re: [R] Arranging Plots

2005-05-19 Thread Barry Rowlingson
Rau, Roland wrote: Can anyone give me some hints? ?screen tells you: figs: A two-element vector describing the number of rows and the number of columns in a screen matrix _or_ a matrix with 4 columns. If a matrix, then each row describes a screen with values for

[R] Arranging Plots

2005-05-19 Thread Lapointe, Pierre
Try this: layout(matrix(c(1,0,2,0,3,0),2,3,byrow=TRUE)) plot(runif(10),main=P1) plot(runif(10),main=P2) plot(runif(10),main=P3) Regards, Pierre Lapointe Assistant Market Strategist National Bank Financial ***

RE: [R] Arranging Plots

2005-05-19 Thread Rau, Roland
Dear all, thank you very much for your help. I would like to thank Sean Davis, Barry Rowlingson, and Pierre Lapointe for their fast help. I actually use now the approach suggested by Barry Rowlingson via the split.screen() function. Thanks, Roland P.S. Three solutions in 30 minutes...and the

Re: [R] Arranging Plots

2005-05-19 Thread Greg Snow
Using layout(matrix(c(1,1,2,2,0,3,3,0),2,3,byrow=TRUE)) may be closer to what the original intent was. Greg Snow, Ph.D. Statistical Data Center, LDS Hospital Intermountain Health Care [EMAIL PROTECTED] (801) 408-8111 Lapointe, Pierre [EMAIL PROTECTED] 05/19/05 05:51AM Try this: