How easy would it be to implement an option in the ps.map instructions for colortables so that the user could decide if he/she wanted to use a discrete colortable vs. a continuous color table (see attached).

Currently, to change the color bar from continuous to discrete, I comment out the following lines in the ps_map.c instructions. It would be nice if one could choose between colortable_continuous vs colortable_discrete like one has the choice between geogrid or grid when making a ps.map file.

gedit ~/grass/ps/ps.map/ps_map.c


   /* do the colortable, if requested */
   if (PS.do_colortable) {
// if ( G_raster_map_is_fp(ct.name, ct.mapset) ) // PS_fcolortable();
//      else
           PS_colortable();
   }


Cheers,

Casey

<<inline: Continuous.png>>

<<inline: Discrete.png>>

_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to