[R] Odp: Plot help
Petr PIKAL
petr.pikal at precheza.cz
Fri Mar 5 10:34:53 CET 2010
Hi
r-help-bounces at r-project.org napsal dne 04.03.2010 19:24:13:
>
> 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.
No. If df is data frame you shall get pairs plot.
>
> BUT
>
> 1. There is no legend, the legend function seems pedantic - surely there
> must be an easy way to just pick up my headers?
Excel?
What is wrong with names(df)
>
> 2. How do I vary the colours. By default they repeat quite frequently
and I
> have lots of red lines etc.
?plot and its parameter col
Regards
Petr
>
> 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.
>
> ______________________________________________
> 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.
More information about the R-help
mailing list