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

Hamish hamish_nospam at yahoo.com
Fri Jul 14 23:23:40 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.
..
> I did give input in a file via the input= option. Yet, it doesn't save
> to .png.
> However, I am using grass 6.0: could this be the problem?


Yes, you need to use GRASS 6.1 for this. d.graph has been rewritten
since GRASS 6.0, including a merge of d.mapgraph and the addition of
display symbols.


Hamish




More information about the grass-user mailing list