[GRASS-dev] ps.map colortable
Casey Vandenberg
casey.vandenberg at sjgeophysics.com
Thu May 7 13:01:24 EDT 2009
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Continuous.png
Type: image/png
Size: 973 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20090507/fb048aba/Continuous.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Discrete.png
Type: image/png
Size: 2887 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20090507/fb048aba/Discrete.png
More information about the grass-dev
mailing list