[GRASS-dev] d.histogram: x axis ticks labels fixed
Markus Neteler
neteler at osgeo.org
Fri Jan 25 08:19:29 EST 2008
hi,
the x axis ticks in d.histogram are often completey messed
up, especially for FP maps with range 0..1.0
I have hacked display/d.histogram/bar.c
-> line 116 etc
to get readable output for most FP maps (before there wasn't).
I have also added a fix (line 321) to enable FP number output for
small range maps, e.g. (NC OSGeo data set):
d.histogram soils_Kfactor
You can quickly test this with (Spearfish, NC, whatever):
# hit return for next map:
for i in `g.mlist rast` ; do d.histogram $i ;read ans ; done
Markus
More information about the grass-dev
mailing list