[GRASS-user] d.legend using png driver

Massimo Di Stefano massimodisasha at yahoo.it
Sun Oct 25 15:47:38 EDT 2009


Hi,

i'm using d.legend to save on a png file  a raster legend.
this the code i'm using :

export GRASS_RENDER_IMMEDIATE=TRUE
export GRASS_TRUECOLOR=TRUE
export GRASS_TRANSPARENT=TRUE
d.mon start=PNG
d.legend map=geology at PERMANENT color=red


this code saves a file "map.png" in the working directory,
my question :

- it is possible to specify where to save the file and  using a custom  
name ?
- exists an example to learn how can i change the font size used int  
the legend ?

thanks to All,

Massimo.


More information about the grass-user mailing list