[R] barplot with color coding according to value

From: <maria_at_meteo.mcgill.ca>
Date: Mon, 16 Jun 2008 15:15:11 -0400 (EDT)


Hello,

I want to use R to produce nice meteograms...

For this I would need to color-code my barplot according to the value plotted

say if value x > 30 ... the bar is red ; if x between 20 and 10, the bar is blue etc...

any ideas how to proceed ?

Thank You a lot,
maria



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 16 Jun 2008 - 20:04:50 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 Tue 17 Jun 2008 - 12:30:50 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