|
From: bittersweet <noo...@gm...> - 2007-04-27 02:31:31
|
Hi. For the time being, I just want to plot a simple sin(x) graph. Can i put
it in this way?
FILE *pid;
pid = _popen ("wgnuplot.exe", "w");
if (pid < 0)
{
perror("Can't open wgnuplot!\n");
}
else
{
printf("Open file suceeded!\n");
fprintf(pid, "plot sin(x)");
system("type wgnuplot.exe");
_pclose(pid);
}
--
View this message in context: http://www.nabble.com/passing-comments-tf3649531.html#a10212382
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|