[GRASS-dev] d.graph output not saved with d.out.file

Hamish hamish_nospam at yahoo.com
Fri Oct 12 19:46:33 EDT 2007


Dylan Beaudette wrote:

> just noticed that the results from d.graph are not saved to an output file 
> when using d.out.file. GRASS 6.3-CVS


from the man page:
"The program can be run interactively or non-interactively. The user can run
the program completely non-interactively by specifying the name of a graphics
file containing the d.graph graphics commands. If run non-interactively the
d.graph command is saved to the display's dedraw history."

d.out.file requires the instructions to be listed in the display monitor's
history (d.save). The same goes for surviving d.redraw.

For it to act otherwise it would need to save the stdin info to a .tmp file,
like d.text does. The .tmp file sticks around until you restart GRASS.

So to get d.out.file to draw your d.graph stuff, use d.graph input=.


Hamish



       
____________________________________________________________________________________
Yahoo! oneSearch: Finally, mobile search 
that gives answers, not web links. 
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC




More information about the grass-dev mailing list