[R] random colour

Jim Lemon jim at bitwrit.com.au
Mon Jun 14 12:18:08 CEST 2010


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



More information about the R-help mailing list