|
From: Hans-Bernhard B. <br...@ph...> - 2004-12-18 23:11:56
|
On Fri, 17 Dec 2004, Teodoro Seoane wrote:
> _popen("pgnuplot.exe plot x", "w");
That's not how you're supposed to work with pgnuplot.exe. What made
you think it was?
Make that
FILE * plot_pipe = _popen("pgnuplot.exe", "w");
and then, once you have a non-NULL plot_pipe, you can "print" your
commands to it:
fprintf(plot_pipe, "plot x\n");
--
Hans-Bernhard Broeker (br...@ph...)
Even if all the snow were burnt, ashes would remain.
|