|
From: <nas...@la...> - 2010-05-24 07:08:15
|
> nas...@la... wrote: >> I am using gnuplot to display measurment data directly out of my >> self-written console-program. So far this works great but the problem >> is, >> that after gnuplot was called by my program, and the terminal with the >> plot is shown (wxt), the user has to type "quit" in console to exit >> gnuplot and return to my program. My question now is, if it is possible >> to >> automatically quit gnuplot when the terminal window is closed by the >> user. > > You appear to be searching for the --persist option. > > No, I am already using this param. But it only has the effect that the plot window doesn't close immediately. But the disadvantage of it is (as described above) that you have to type "quit" to the console to exit gnuplot. What I need is that gnuplot closes automatically when the plot window is closed. For better understanding I have tried to illustrate what I mean here: http://img714.imageshack.us/img714/5448/gnuplotdesc.jpg |