Re: [R] barplot with color coding according to value

From: Jim Lemon <>
Date: Tue, 17 Jun 2008 21:34:14 +1000 wrote:
> 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 ?
Hi Maria,

Have a look at "barp" in the plotrix package.

Jim mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Tue 17 Jun 2008 - 11:38:45 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 Please read the posting guide before posting to the list.

list of date sections of archive