[GRASS-dev] ps.map colortable

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

(attachments)

Continuous.png
Discrete.png