[GRASS-user] legend with logaritmic scale

Hi

I add to raster following color table:

0,001 0 0 56
0,01 0 0 128
0,1 0 0 255
1 white
10 255 0 0
100 128 0 0
1000 56 0 0

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)

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

Jarek Jasiewicz wrote:

I add to raster following color table:

0,001 0 0 56
0,01 0 0 128
0,1 0 0 255
1 white
10 255 0 0
100 128 0 0
1000 56 0 0

I am not sure, but I think you have to use "." as the decimal point, not
",". Also if you like the RGB values can be separated by a ":" like
"R:G:B" instead of "R G B". That doesn't really matter, it just makes it
easier to read.

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)

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

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

Hamish

      ____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

Hamish wrote:

Jarek Jasiewicz wrote:

I add to raster following color table:

0,001 0 0 56
0,01 0 0 128
0,1 0 0 255
1 white
10 255 0 0
100 128 0 0
1000 56 0 0
    
I am not sure, but I think you have to use "." as the decimal point, not
",". Also if you like the RGB values can be separated by a ":" like
"R:G:B" instead of "R G B". That doesn't really matter, it just makes it
easier to read.

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)

Is posible to transform legend to display it in logaritmic scale??
    
New for GRASS 6.3 is "r.colors -g" to use logarithmic scaling.

Hamish

      ____________________________________________________________________________________
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

opps. comma is only due to polish formating of my mail, of course in grass I used "."
thanks for info on -g, but it isn't present in week before svn help? (d.legend)
Jarek

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