Re: [R] problem getting multiple densityplots on one page

2008-02-01 Thread Rainer M Krug
Sorry - I thought about plot(density()) should read more carefull... On 01/02/2008, Gavin Simpson <[EMAIL PROTECTED]> wrote: > > On Fri, 2008-02-01 at 14:00 +0200, Rainer M Krug wrote: > > On 01/02/2008, Ng Stanley <[EMAIL PROTECTED]> wrote: > > > > > > Hi, > > > > > > I used the following statem

Re: [R] problem getting multiple densityplots on one page

2008-02-01 Thread Gavin Simpson
hits=-2.6 tests=BAYES_00 X-USF-Spam-Flag: NO On Fri, 2008-02-01 at 14:00 +0200, Rainer M Krug wrote: > On 01/02/2008, Ng Stanley <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > I used the following statements to generate unsuccessfully a 5 by 5 > > multiple > > densityplots on a single page. If I u

Re: [R] problem getting multiple densityplots on one page

2008-02-01 Thread Rainer M Krug
On 01/02/2008, Ng Stanley <[EMAIL PROTECTED]> wrote: > > Hi, > > I used the following statements to generate unsuccessfully a 5 by 5 > multiple > densityplots on a single page. If I use plot, the whole thing works. > > > data <- matrix(rnorm(25), 5, 5) > > op <- par(mfrow = c(5, 5)) > > for (x in 1

[R] problem getting multiple densityplots on one page

2008-02-01 Thread Ng Stanley
Hi, I used the following statements to generate unsuccessfully a 5 by 5 multiple densityplots on a single page. If I use plot, the whole thing works. > data <- matrix(rnorm(25), 5, 5) > op <- par(mfrow = c(5, 5)) > for (x in 1:5) {densityplot(data[,x])} > par(op) Thanks Stanley [[altern