[GRASS-user] Floating point histogram x-axis display

Hi,

I notice with a floating point raster that there appears to be a numbering
problem in the histogram's x-axis.

All values in the file are are from zero to 159, no negative values.
Horizontally expanding the histogram is not helpful re the x values. Please
see attached file.

Could Gnuplot be a convenient workaround - if you could point me to any up
to date and relevant literature?

Thanks,
Richard

GRASS 6.4.2
Linux Mint 13 (ubuntu precise)

<http://osgeo-org.1560.n6.nabble.com/file/n5024823/x_axis_histogram_ticks.jpg&gt;

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Floating-point-histogram-x-axis-display-tp5024823.html
Sent from the Grass - Users mailing list archive at Nabble.com.

On Fri, Dec 28, 2012 at 6:39 AM, RichardC <richtcooper@hotmail.com> wrote:

Hi,

I notice with a floating point raster that there appears to be a numbering
problem in the histogram's x-axis.

All values in the file are are from zero to 159, no negative values.
Horizontally expanding the histogram is not helpful re the x values. Please
see attached file.

Yes, the d.histogram ticks calculation is far from satisfying.
(see below)

Could Gnuplot be a convenient workaround - if you could point me to any up
to date and relevant literature?

Gnuplot may be a way, see i.spectral for a usage (it is a script).

The problem has been addressed in GRASS7:

http://grass.osgeo.org/screenshots/user-interface/
--> currently 4th screenshot:
      Logarithmic histogram of a population map. The axes are fully customizable

I don't expect that the old d.histogram will gain a better axes support
but perhaps we find a volunteer to improve it?

Markus