Re: [R] Plot of multiple data sets

2005-09-09 Thread Chris Buddenhagen
I found a lot of answers at this type of problem website wrt graphics and multiple plots- I bet the book will be useful when it comes out. http://www.stat.auckland.ac.nz/~paul/RGraphics/rgraphics.html Chris Buddenhagen, Botany Department, Charles Darwin Research Station, Santa

Re: [R] Plot of multiple data sets

2005-09-09 Thread Austin, Matt
The book is out--I received mine a few weeks ago. It is very useful. --Matt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Chris Buddenhagen Sent: Friday, September 09, 2005 6:30 AM To: r-help@stat.math.ethz.ch Subject: Re: [R] Plot of multiple

Re: [R] Plot of multiple data sets

2005-09-09 Thread Jim Porzak
Paul's book has been available in the states since mid-Aug. Is on my local bookseller's shelf (, of course, mine) I would recommend it to anyone doing more than off the shelf graphics in R. As expected, an especially good look at grid. Hopefully it will be available in Europe soon. -- Best,

[R] Plot of multiple data sets

2005-09-07 Thread Stéphane Mattei
Hello ! There is something quite simple I want to do with R but I found nowhere in the help how to do it. I just want to plot data which are in a matrix, every column being a data set and having the same x-axis (just an index). So for example if I have a 50 x 6 matrix I want 6 set of points

Re: [R] Plot of multiple data sets

2005-09-07 Thread Duncan Murdoch
On 9/7/2005 9:28 AM, Stéphane Mattei wrote: Hello ! There is something quite simple I want to do with R but I found nowhere in the help how to do it. I just want to plot data which are in a matrix, every column being a data set and having the same x-axis (just an index). So for

Re: [R] Plot of multiple data sets

2005-09-07 Thread Romain Francois
Le 07.09.2005 15:28, Stéphane Mattei a écrit : Hello ! There is something quite simple I want to do with R but I found nowhere in the help how to do it. I just want to plot data which are in a matrix, every column being a data set and having the same x-axis (just an index). So for example if

Re: [R] Plot of multiple data sets

2005-09-07 Thread Henrik Andersson
Have a look at ?matplot Stéphane Mattei wrote: Hello ! There is something quite simple I want to do with R but I found nowhere in the help how to do it. I just want to plot data which are in a matrix, every column being a data set and having the same x-axis (just an index). So for

[R] Plot of multiple data sets

2005-09-07 Thread Stéphane Mattei
Thank you all for your answers. I eventually use the points command plot(MATRIX[,1]) points(MATRIX[,2]) points(MATRIX[,3]) ... with matplot I had numbers instead of points with type=p and par(new=TRUE) makes complications with the axis. __

Re: [R] Plot of multiple data sets

2005-09-07 Thread Stéphane Mattei
Selon Gabor Grothendieck [EMAIL PROTECTED]: On 9/7/05, Stéphane Mattei [EMAIL PROTECTED] wrote: Hello ! There is something quite simple I want to do with R but I found nowhere in the help how to do it. I just want to plot data which are in a matrix, every column being a data set

Re: [R] Plot of multiple data sets

2005-09-07 Thread Romain Francois
Le 07.09.2005 16:00, Stéphane Mattei a écrit : Thank you all for your answers. I eventually use the points command plot(MATRIX[,1]) points(MATRIX[,2]) points(MATRIX[,3]) ... with matplot I had numbers instead of points with type=p and par(new=TRUE) makes complications with the axis. So,

Re: [R] Plot of multiple data sets

2005-09-07 Thread Petr Pikal
Hi what is wrong with matplot sines - outer(1:20, 1:4, function(x, y) sin(x / 20 * pi * y)) matplot(sines, pch = 1:4, type = o, col = rainbow(ncol(sines))) so you can use aditional parameters to exactly specify what type of point and/or line and in what colour you will plot. Or with