[R] Plot help

ManInMoon xmoon2000 at googlemail.com
Thu Mar 4 19:24:13 CET 2010


Is there an easy way to do two things:

I have a dataframe with headers and 18 columns

I want to plot all the columns on same y axis plot(df) does this.

BUT

1. There is no legend, the legend function seems pedantic - surely there
must be an easy way to just pick up my headers?

2. How do I vary the colours. By default they repeat quite frequently and I
have lots of red lines etc.

Moon
-- 
View this message in context: http://n4.nabble.com/Plot-help-tp1578510p1578510.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list