[GRASS5] [bug #821] (grass) No raster legend in ps.map

Glynn Clements glynn.clements at virgin.net
Thu Nov 1 17:37:34 EST 2001


Hanne og Morten Sickel wrote:

> > > When using
> > > colormap y
> > > end
> > > in a ps.map input file, no colormap / legend turned up.
> >
> >The command is called "colortable".
> Sorry for that, I used the command 'colortable' (The internet connection on 
> my grass-box is currently down, so I had to report the bugs by memory)

I tried a quick test. ps.map does add the colour table, but it sets
the file's bounding box to the image, so the colour table is outside
of the bounding box.

GV will, by default, only display the bounding box. If you select the
paper size from the menu, you should see the colour table. When
printing the file, you should get the colour table.

As a workaround, you can delete the "%%BoundingBox:" line from the top
of the PostScript file.

I'll look into how much work is involved in fixing the bounding box
calculation. If it's too much, I'll just remove the "%%BoundingBox:"
line; no bounding box specification is better than one which is
incorrect.

-- 
Glynn Clements <glynn.clements at virgin.net>



More information about the grass-dev mailing list