On 01/11/2014 09:27 AM, Pachapep wrote:

ok, I think I got it. Here is the code I used. Thanks for the help guys..


Hi Pachapep,
You can also do it like this:

library(plotrix)
plot(1:10)
# show color.scale(1:50,c(0,1,1),c(0,1,0),c(1,1,0),)
gradient.rect(1,4,10,6,c(0,1,1),c(0,1,0),c(1,1,0))

Jim

______________________________________________
R-help@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.

Reply via email to