Re: [R] Multiple plots with one legend

From: mavkoup <mavkoup_at_hotmail.com>
Date: Sat, 26 Mar 2011 17:27:10 -0700 (PDT)

Ok I think I can figure that out. Which leads me to a further question. My 3 plots contain 10 time series, each with a different name and color. Can I create the legend such that it has a line of the correct color follow by the name of the series? I.e.

line(with color1) NAME 1
line(with color2) NAME 2
...

I have a vector of colors I'm using and a vector of names.

Thanks

--
View this message in context: http://r.789695.n4.nabble.com/Multiple-plots-with-one-legend-tp3408537p3408646.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
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.
Received on Sun 27 Mar 2011 - 00:41:42 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 27 Mar 2011 - 01:20:25 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive