[GRASS-user] Help on Define a color table

Nick Jachowski njachowski at gmail.com
Tue Apr 26 12:01:37 EDT 2011


You could use r.mapcalc and make all negs = -1, all pos = 1, leave all 0 = 0. Then make a color table where -1 is blue, 0 is green and 1 is red. I'm doing the very same thing right now :-)

[Sent from a mobile device]

On Apr 26, 2011, at 11:16 PM, Franz Schiller <franzschiller1975 at gmail.com> wrote:

> Greetings
> I haver searched among color tables and I didn't find any example like this:
> I want to define a color table where: 
> all negative values are blue
> all zeros are green
> all positive values are red.
> 
> Can anyone give me a tip on this?
> Thanks
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user


More information about the grass-user mailing list