Add colors for color ranges...

I am sure this is posted in the wrong place, but thanks for posting the bar3c file- I would like to modify it so that it plots different colors for different value ranges:

Specifically,
0-0.2 z values would show up in red
0.2-0.8 values would show up in yellow
and
0.8 to 1 values would show up in green

Unfortunately, your code style is pretty different than mine and I don't immediately see how to do this- any pointers?

Thanks,
Kaitlin