[GRASS-dev] d.histogram and FP maps

Martin Landa landa.martin at gmail.com
Sun Aug 20 18:10:25 EDT 2006


Hi all,

working with FP raster map (range: [0,1]) d.histogram does not display
real numbers along x-axis (see [1]).

I have tried to fix it (see [2], fixed number of digits after the
decimal point -- 2).

Maybe it would be sufficient to add a new parameter to enable user to
display more/less digits after the decimal point. Any ideas?

Should be fixed in CVS?

r.info ndvi -r
min=-1.000000
max=0.861314

Cheers, Martin

[1] http://gama.fsv.cvut.cz/~landa/.../tmp-grass-screenshots/histogram_fp-0.png
[2] http://gama.fsv.cvut.cz/~landa/.../tmp-grass-screenshots/histogram_fp-1.png

-- 
Martin Landa <landa.martin at gmail.com> * http://gama.fsv.cvut.cz/~landa *
-------------- next part --------------
A non-text attachment was scrubbed...
Name: d_histogram_fp.diff.gz
Type: application/x-gzip
Size: 2597 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20060821/b86381bb/d_histogram_fp.diff.gz


More information about the grass-dev mailing list