[GRASS-dev] [GRASS GIS] #2463: d.histogram x-axis numbering incorrect

GRASS GIS trac at osgeo.org
Tue Jul 12 04:25:05 PDT 2016


#2463: d.histogram x-axis numbering incorrect
-----------------------+---------------------------------
  Reporter:  richardc  |      Owner:  grass-dev@…
      Type:  defect    |     Status:  new
  Priority:  normal    |  Milestone:  7.0.5
 Component:  Display   |    Version:  svn-releasebranch70
Resolution:            |   Keywords:  d.histogram
       CPU:  x86-32    |   Platform:  Linux
-----------------------+---------------------------------

Comment (by lazaa):

 I found the problem. Digits after decimal points are displeyd only if
 {{{(max - min) <= 1.0}}}. In this case {{{max - min = 2.0}}}. I can easily
 fix it with {{{abs()}}} but maybe we should discuss what is the right
 condition to decide when display decimal number and when only rounded
 value.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2463#comment:6>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list