[GRASSLIST:5567] Re: raster mask color
Hamish
hamish_nospam at yahoo.com
Mon Jan 31 15:47:23 EST 2005
> Can someone tell me how to set the mask color in Grass 6 beta 1? I've
> created a mask using r.mapcalc and I've tried using r.colors to set
> the mask colour but I can't get the mask to be anything other than
> white.
from the r.colors help page:
[r.colors color=rules ...]
To set the NULL (no data) color, use the "nv" parameter:
0 black
10% yellow
nv white
end
so make a rule, e.g. "nv 60:60:60" to make all NULL areas a dark grey.
Hamish
More information about the grass-user
mailing list