I am trying to send some pseudo real-time data (1 kHz sample rate) via a pipe to gnuplot v4.6.3. The graphs are excellent if I slow the data down but unfortunately, gnuplot can't keep up so I was wondering if anyone had any suggestions for improving the performance.
I have noticed that the rate at which gnuplot can plot is heavily dependent on the size of the text window so I am guessing that one of the limiting factors is that gnuplot echos all of the piped commands to the text window. Does anyone know how to turn this off as it might solve my problem ?
I have tried the redirect solution mentioned here (hide C++ Gnuplot pipe console output) but it doesn't seem to work under Windows.
Thanks very much, John
I was using pgnuplot.exe as I didn't realize gnuplot.exe supported pipes. Using "gnuplot -persist > /nul 2>&1" has got the performance - very high indeed :-)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With