Re: [R] More than one series in a coplot

2004-06-07 Thread Paul Murrell
Hi Matthew Walker wrote: Hi! I would like to know, how do you plot more than one data series when using "coplot"? I think I know the answer if "plot" is being used: x <- 1:10 y <- 1:10 y2 <- 1:10* 1.1 plot ( y ~ x, type="n" ) points( y ~ x, type = "b", col = "red" ) # plot the points and lines

Re: [R] More than one series in a coplot

2004-06-04 Thread Deepayan Sarkar
On Friday 04 June 2004 23:04, Matthew Walker wrote: > Hi! > > I would like to know, how do you plot more than one data series when > using "coplot"? > > I think I know the answer if "plot" is being used: > x <- 1:10 > y <- 1:10 > y2 <- 1:10* 1.1 > plot ( y ~ x, type="n" ) > points( y ~ x, type = "b

[R] More than one series in a coplot

2004-06-04 Thread Matthew Walker
Hi! I would like to know, how do you plot more than one data series when using "coplot"? I think I know the answer if "plot" is being used: x <- 1:10 y <- 1:10 y2 <- 1:10* 1.1 plot ( y ~ x, type="n" ) points( y ~ x, type = "b", col = "red" ) # plot the points and lines for the first series poin