Re: [R] random colour

From: Jim Lemon <jim_at_bitwrit.com.au>
Date: Mon, 14 Jun 2010 20:18:08 +1000

On 06/14/2010 03:05 PM, suman dhara wrote:
> Sir,
> I want to plot 5 curve on a single graph. I want to give random colour on
> it. How can I do this?
>
Hi Suman,

col<-rgb(runif(5),runif(5),runif(5))

Jim



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. Received on Mon 14 Jun 2010 - 10:16:38 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 14 Jun 2010 - 11:00:30 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive