[Gambas-user] Doubts in execute shell commands

Daniel Campos dcamposf at ...626...
Fri Nov 9 00:38:49 CET 2007


Hi:

I think gnuPlot can draw on a image file instead of the X11 display,
so you could ask gnuPlot to draw in a file (a PNG file, for example),
and then load and display it in a PictureBox or DrawingArea control

Daniel


2007/11/8, Tomas Eroles i Forner <tomas.eroles at ...277...>:
> Hi all!
> I have some problems with EXEC and SHELL commands:
> I would like to plot data with gnuplot from a Gambas application using:
>
> SUB button1_Click()
>    EXEC ["gnuplot", "graph1.plt"] WAIT
> END
>
> where graph1.plt is a valid gnuplot file.
>
> The problem is when GAMBAS executes this command a window appears in the
> screen showing the graphs, but it disapears inmediately.
> I've tried to add a pause command in the graph1.plt file and it works,
> but only for a while, and I would like one of these solutions:
> - the graph appears in a form but I don't know in which control (if
> possible)
> - the graph appears as a new window, but, the user can close this window
>
> Any idea?
>
> thanks in advance
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>




More information about the User mailing list