[GRASS-dev] Re: [GRASS GIS] #124: d.legend: apply arbitrary labels to a smooth floating-point colorbar

GRASS GIS trac at osgeo.org
Wed Apr 16 09:29:57 EDT 2008


#124: d.legend: apply arbitrary labels to a smooth floating-point colorbar
--------------------------+-------------------------------------------------
  Reporter:  epatton      |       Owner:  hamish            
      Type:  enhancement  |      Status:  assigned          
  Priority:  minor        |   Milestone:  6.4.0             
 Component:  default      |     Version:  svn-trunk         
Resolution:               |    Keywords:  colorbar, d.legend
--------------------------+-------------------------------------------------
Comment (by epatton):

 Ok, for instance, see legend1.png; it shows a color bar divided into 6
 intervals on a floating-point bathymetry dataset; I don't want to use odd
 depth values like -188 and -92; I would prefer to label -200, -150, -100,
 etc. When I use the use= paramter, the legend gets chopped into squares,
 ruining the nice, continous color bar (legend2.png; also, the labels
 become huge for some reason).

 So basically, I would ideally like a color bar like legend1.png, but with
 arbitrary labels applied.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/124#comment:2>
GRASS GIS <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/


More information about the grass-dev mailing list