Re: [R] R: plotting multiple functions

2004-02-03 Thread Martin Maechler
> "allan" == allan clark <[EMAIL PROTECTED]> > on Tue, 03 Feb 2004 09:59:31 +0200 writes: allan> Hi all Another simple question. allan> I would like to plot three graphs one the same plot allan> with different colours. Say red, blue and black. Here allan> are the funct

Re: [R] R: plotting multiple functions

2004-02-03 Thread Peter Wolf
allan clark wrote: Hi all Another simple question. I would like to plot three graphs one the same plot with different colours. Say red, blue and black. Here are the functions. r1<-1+5*cos(2*pi*seq(1:100)/20)+rnorm(100) r2<-1+7*sin(2*pi*seq(1:100)/20)+rnorm(100) r3<-1+7*sin(2*pi*seq(1:100)/20)+5*

Re: [R] R: plotting multiple functions

2004-02-03 Thread Timur Elzhov
On Tue, Feb 03, 2004 at 09:59:31AM +0200, allan clark wrote: > Another simple question. > > I would like to plot three graphs one the same plot with different > colours. Say red, blue and black. Here are the functions. > > r1<-1+5*cos(2*pi*seq(1:100)/20)+rnorm(100) > r2<-1+7*sin(2*pi*seq(1:100)/

[R] R: plotting multiple functions

2004-02-03 Thread allan clark
Hi all Another simple question. I would like to plot three graphs one the same plot with different colours. Say red, blue and black. Here are the functions. r1<-1+5*cos(2*pi*seq(1:100)/20)+rnorm(100) r2<-1+7*sin(2*pi*seq(1:100)/20)+rnorm(100) r3<-1+7*sin(2*pi*seq(1:100)/20)+5*cos(2*pi*seq(1:100)