I am programming in clips which creates a file in txt with a column "x=time" and "y=values" but I want to plot such file automatically when finish the run. I use gnuplot.exe to plot, but a have to open such program manually. All I want is Clips open gnuplot automatically. I know I need insert a code in c into the source code of the clips to call gnuplot, but I don't know how to do that. Please, can someone help me? Thanks in advance.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Dear all,
I am programming in clips which creates a file in txt with a column "x=time" and "y=values" but I want to plot such file automatically when finish the run. I use gnuplot.exe to plot, but a have to open such program manually. All I want is Clips open gnuplot automatically. I know I need insert a code in c into the source code of the clips to call gnuplot, but I don't know how to do that. Please, can someone help me? Thanks in advance.
Try using the system command: (system "gnuplot data.txt")