Hello

Recently, I've been dealing with a seemingly simple problem. I have a table
with two columns filled with values from a test I made (say, amount of
precipitation and Months measured). Now, instead of plotting a typical
linear graphic with precipitation on the y-axis and the months in the
x-axys, I would like to "convert" the values of precipitation in a color
gradient, resulting in a vertical gradient throughout the x-axis. In this
way, months with higher precipitation would appear reddish while lower
precipitation would appear blueish, for example. Despite being a simple
problem (basically converting the y-values in a color gradient), I have
failed to find a way of doing this.

If someone knows how to solve this, either using R or other program, please
lend me a hand. 

Thanks for your attention
Diogo
-- 
View this message in context: 
http://r.789695.n4.nabble.com/Color-scale-graphic-tp2244657p2244657.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
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