|
From: bluebluesky <one...@ya...> - 2011-11-11 19:52:10
|
Hi,
I just tried gnuplot 4.5 latest build,
For the attached two files plot.c and plotcm2 below,
/* Filename: plot.c */
#include <stdio.h>
int main()
{
system("wgnuplot.exe plotcmd2 -");
return 0;
}
#Filename: plotcmd2
set terminal wxt
plot [-10:10] sin(x)
When plot.c is compiled and executed in Windows,
a plot using terminal wxt will appear correctly.
But, when the plot window with a graph is closed by clicking
the 'x' on the upper right corner, the process wgnuplot.exe still
runs in the background.
How to make change to the program so that
the plot window is closed, the process for wgnuplot.exe
will also be closed?
BTW, if wxt terminal is changed to windows terminal,
wgnuplot.exe will be closed correctly. also, I will not be able to use
pgnuplot.exe due to my GUI app.
thus, I want to see if it can work out with wgnuplot.exe
Thanks in advance.
peter
--
View this message in context: http://old.nabble.com/gnuplot-4.5-wxt-format-not-working-tp32827555p32827555.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|