[GRASS-user] legend with logaritmic scale

Hamish hamish_b at yahoo.com
Mon Mar 17 02:43:21 EDT 2008


Jarek wrote:
> >> the range of value is about 0.003-120, but most data are between 0.1
> >> and 10, so logaritmic transformation wuld be good idea
> >>
> >> (unfortunately,
> >> for some reason, I cannot logtransoform entire raster)

r.mapcalc doesn't like it?

> >> Is posible to transform legend to display it in logaritmic scale??

Hamish:
> > New for GRASS 6.3 is "r.colors -g" to use logarithmic scaling.

Jarek:
> thanks for info on -g, but it isn't present in week before svn help? 
> (d.legend)


It's in r.colors not d.legend. e.g.:

GRASS> r.colors mapname -g color=bcyr
GRASS> d.legend mapname use=0.01,0.1,1,10,100



Hamish



      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs



More information about the grass-user mailing list