[R] a high-level command for drawing a multiple series graph with each series having a label

John Kane jrkrideau at yahoo.ca
Sat Jun 21 16:37:21 CEST 2008


?plot
?lines  
used together. Note you need to set type="l" in plot


--- On Sat, 6/21/08, Mark Farnell <mark.farnell at gmail.com> wrote:

> From: Mark Farnell <mark.farnell at gmail.com>
> Subject: [R] a high-level command for drawing a multiple series graph with each series having a label
> To: R-help at r-project.org
> Received: Saturday, June 21, 2008, 2:00 AM
> I wish to draw a graph representing multiple series (sets of
> x,y
> points).  Each series has its own label and points within
> each series
> are joined by a line ordered by their X cooridnate.
> 
> I would also like a legend automatically showing which each
> series is.
> 
> Which high-level command can serve this purpose?  I looked
> at my book
> but can't find such a command.
> 
> Thanks!
> 
> Mark
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained,
> reproducible code.


      __________________________________________________________________
[[elided Yahoo spam]]



More information about the R-help mailing list