[GRASSLIST:5008] Re: ps.map and raster legend

Hamish hamish_nospam at yahoo.com
Tue Nov 30 16:19:14 EST 2004


> I have a raster map that has a value in each raster area that I want
> to show using ps.map.  I have some of the regions that have no value
> and the others are scaled for display using r.colors colors=grey.log.
> However, when I output this using ps.map asking for legends on the
> raster, all I get is a black box saying that it has no value.
> 
> I am using grass 5.0.3 on linux.
> 
> Anyone run into anything like this?  Any way to get the legend to show
> up with each value showing a different grey color?


Your categories have to be labeled in order to show up.
try r.support as a start.


5.4 man page:
"Adding the 'nodata n' instruction will prevent the "no data" box from
being drawn (category based legends only)"



Hamish




More information about the grass-user mailing list