Message-ID: <1353661586633-4650527.post@n4.nabble.com>
Date: 2012-11-23T09:06:26Z
From: Manish Gupta
Subject: invalid colour name 'rgb(1.000,0,0)' error
Hi,
I m working on latex and R and i need to dynamically generate colors.
r<-paste("rgb(1.000,",0,",",0,")",sep="") # i m generating dynamically by
paste command
cars <- c(1, 3, 6, 4, 9)
plot(cars, type="o", col=r) *Error in plot.xy(xy, type,
...) : invalid colour name 'rgb(1.000,0,0)'*
How to fix this pblm? Pls help me out as i m in great need.
Thanks
--
View this message in context: http://r.789695.n4.nabble.com/invalid-colour-name-rgb-1-000-0-0-error-tp4650527.html
Sent from the R help mailing list archive at Nabble.com.