[GRASS-user] g.gui.tplot opens plot when exporting csv from cli

st_kiefer at web.de st_kiefer at web.de
Fri Oct 12 01:55:30 PDT 2018


Hi,
you might try to add the following line in before the call of g.gui.tplot in your script:

setenv DISPLAY /dev/null

This sends the gui to nowhere and is not visible and destroyed imediately hence.

regards

Stefan

> Margherita Di Leo <diregola at gmail.com> hat am 12. Oktober 2018 um 10:39 geschrieben:
> 
> 
> Hi,
> 
> I'm trying to export in a csv the data used to plot a time series in a
> given point, and I have to run it in a script passing a series of
> coordinates, so the problem is that using g.gui.tplot from command line, it
> opens the plot and needs to be closed manually. Perhaps there is another
> tool more suitable for this purpose?
> 
> Thank you in advance
> 
> Regards,
> 
> -- 
> Margherita Di Leo
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-user


More information about the grass-user mailing list