[GRASSLIST:9786] floating-point colorbar in ps.map

michaelp at sjgeophysics.com michaelp at sjgeophysics.com
Tue Jan 10 19:01:50 EST 2006


Hi Everyone,

I am trying to add a colorbar with a color gradient to my ps.map
instructions.  My raster file is of type floating-point, and when I use
the d.legend command I get a nice, smooth colorbar. How do I create the
same type of colorbar in ps.map?  If I try to use the colortable command
in my ps.map script, all I get is:

GRASS_INFO_WARNING(8431,1): Your cats/ file is invalid. A cats/ file with
categories and labels is required for 'colortable' when using CELL
rasters. No colortable will be assigned to this output postscript file.

My cats file for this raster is as follows:

# 255 categories





0.00 0.00 0.00 0.00

Any help appreciated.
Thanks, Mike.




More information about the grass-user mailing list