[R] Multiple plots with one legend

mavkoup mavkoup at hotmail.com
Sun Mar 27 01:27:10 CET 2011


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.



More information about the R-help mailing list