[GRASS5] How to change a colortable in fp maps?... and another d.colors issue

Eric G. Miller egm2 at jps.net
Tue Feb 26 22:39:46 EST 2002


On Wed, Feb 27, 2002 at 03:31:15AM +0000, Gualter Barbas Baptista wrote:
> I just figured out that there is no support for fp in d.colors too. Is 
> there any way to do this (except  multiplying and converting to int)?
> 
> Another thing with d.colors: I didn't figure how to change the colors 
> for negative numbers. It only asks me for the maximum category, so, for 
> example, if I have values ranging from -10 to 10 (as I had in a NDVI), I 
> can only change the colors for the categories ranging from 0 to 10. I 
> wanted to give the values ranging from -10 to -1 the color blue (water).

Use r.colors with the "rules" color.  It'll set up the color rules
correctly.  

-- 
Eric G. Miller <egm2 at jps.net>



More information about the grass-dev mailing list