Hi all I am trying to use system() with gnu plot.
I have some code which looks like this:
Qt Code:
system("gnuplot"); system("set term jpeg"); //...more code here system("exit");To copy to clipboard, switch view to plain text mode
However all it does it run the first system call and then stops with the command prompt window open. You close this command prompt window and it then calls the next system call, which of course errors because it is not aware of the former command. I was wondering how i get around this problem. Any help would be much appreciated.
I've tried using qwt before you say anything, and lets just say it caused me a lot of problem, doesn't offer the functionality i require and seems far harder to use. Therefore I'm sticking with gnuplot.
I'm using windows 7, Home Premium 32 bit.
Thanks for your time and trouble.
Bookmarks