hi.
I have manage to plot the sin(x) graph but it only show itself for a less
than a second.
How do I get the graph to show longer or permanently until the 'x' button
(exit) is clicked?
Here is my codes:
if ((pid > 0) && (cfile > 0))
{
printf("Open file suceeded!\n");
system("wgnuplot.exe command.txt");
_pclose(pid);
}
where cfile is the pointer to command.txt, which is my commands
and pid is the pointer to wgnuplot
--
View this message in context: http://www.nabble.com/graph-shown-only-for-a-split-second-tf3656329.html#a10215057
Sent from the Gnuplot - User mailing list archive at Nabble.com.
bittersweet wrote:
> hi.
>
> I have manage to plot the sin(x) graph but it only show itself for a less
> than a second.
> How do I get the graph to show longer or permanently until the 'x' button
> (exit) is clicked?
See 'help windows'.