[GRASSLIST:9966] Re: raster legend

Hamish hamish_nospam at yahoo.com
Tue Jan 24 00:08:20 EST 2006


> is there a way to manipulate the text labels produced by d.legend,
> i.e.  size, style, font, distance from the bar?

The text itself can be edited with r.support or directly in the cats/ file.

The size is tied to the height of the legend.

The font/style can be changed with d.font or d.font.freetype
(e.g. use d.font.freetype to choose an italics TTF font)

Distance from the bar is only controlled by the -v and -c flags.
Use both those flags and put the text in with a graphics program like
the GIMP if you want something more sophisticated.


Hamish




More information about the grass-user mailing list