[R] Odp: random colour
Petr PIKAL
petr.pikal at precheza.cz
Mon Jun 14 10:54:41 CEST 2010
Hi
Would you like to know which colour is for which curve? If yes use
parameter col=1:5 in your plotting call.
If not you can try col = sample(colours(), 5) instead
Regards
Petr
r-help-bounces at r-project.org napsal dne 14.06.2010 07:05:43:
> Sir,
> I want to plot 5 curve on a single graph. I want to give random colour
on
> it. How can I do this?
>
> Regards,
> Suman Dhara
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> 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