[GRASS-user] Saving d.graph output to a .png file

Hamish hamish_nospam at yahoo.com
Sun Jul 9 17:57:10 EDT 2006


Luigi Ponti wrote:

> I tried to save (to a .png file) a GRASS display including the ouput
> of  d.graph as well as regular raster and vector maps. However,
> everything  else except the d.graph output would show up in the .png
> image.

(grass 6.1)

d.graph only saves to the X monitor's draw-history if the input was
given in a file with the input= option. It can't recreate what was fed
from stdin in a future redraw.

So put your drawing commands in a file. g.tempfile might help.



Hamish




More information about the grass-user mailing list