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 [email protected] 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]] > > ______________________________________________ > [email protected] 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. ______________________________________________ [email protected] 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.

