[GRASS-dev] Re: [GRASS GIS] #336: r.colors -e flag does not use full color range if map values are between 0. and 1.

GRASS GIS trac at osgeo.org
Wed Oct 15 03:03:30 EDT 2008


#336: r.colors -e flag does not use full color range if map values are between 0.
and 1.
----------------------+-----------------------------------------------------
  Reporter:  neteler  |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect   |      Status:  new                      
  Priority:  major    |   Milestone:  6.4.0                    
 Component:  Raster   |     Version:  svn-trunk                
Resolution:           |    Keywords:                           
  Platform:  All      |         Cpu:  All                      
----------------------+-----------------------------------------------------
Comment (by neteler):

 Code to reproduce right side screenshots:

 {{{
 # Spearfish
 g.region rast=elevation.dem
 r.mapcalc "tmp1=elevation.dem - 1066."
 r.mapcalc "elv=tmp1 / 774."
 r.colors elv col=gyr
 d.mon x4
 d.histogram elv

 r.colors elv col=gyr -e
 d.mon x0
 d.histogram elv
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/336#comment:2>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list