[R] Multi-line plots with matrices in R

2007-03-07 Thread Joseph Wakeling
Hello all, I'm a new user of R, experienced with Octave/MATLAB and therefore struggling a bit with the new syntax. One of the easy things in Octave or MATLAB is to plot multiple lines or sets of points by using a matrix where either the columns or the rows contain the y-values to be plotted. Bo

Re: [R] Multi-line plots with matrices in R

2007-03-07 Thread Petr Pikal
:30:46 + From: Joseph Wakeling <[EMAIL PROTECTED]> To: r-help@stat.math.ethz.ch Subject: [R] Multi-line plots with matrices in R > Hello all, > > I'm a new user of R, experienced with Octave/MATLAB and therefore > st

Re: [R] Multi-line plots with matrices in R

2007-03-07 Thread Gavin Simpson
On Wed, 2007-03-07 at 12:30 +, Joseph Wakeling wrote: > Hello all, > > I'm a new user of R, experienced with Octave/MATLAB and therefore > struggling a bit with the new syntax. > > One of the easy things in Octave or MATLAB is to plot multiple lines or > sets of points by using a matrix wher

Re: [R] Multi-line plots with matrices in R

2007-03-07 Thread Joseph Wakeling
Gavin Simpson wrote: > You want maplot here. See ?matplot but here is an example: Great! Thanks to you and Petr for pointing this out, it's exactly what I wanted. Petr's other suggestions look interesting and I'll explore them at length later. > Note the changed axis range in the right-hand ma

Re: [R] Multi-line plots with matrices in R

2007-03-07 Thread Gavin Simpson
On Wed, 2007-03-07 at 15:11 +, Joseph Wakeling wrote: > Gavin Simpson wrote: > > You want maplot here. See ?matplot but here is an example: > > Great! Thanks to you and Petr for pointing this out, it's exactly what > I wanted. Petr's other suggestions look interesting and I'll explore > the