I wrote this script a few days ago to plot real-time / streaming data with gnuplot. The motivation was that I needed to test a piece of code for a touchscreen driver that I had written at work. The issue was that the UI wasn’t quite ready yet, so I wanted to test just the driver to be working fine. Now, the very first thought for the software to use that came to me was “gnuplot” but I found that it can’t really do this in an easy way. A colleague suggested me to use “replot” command with gnuplot. I whipped out my perl hat and a few hours later, voila!! my very own real time data plotter was ready. Now, I can stream data from any program to this script or provide the data on STDIN and can see the data being plotted continuously. BTW, it was awesome to see all the shapes that I drew on my target board’s LCD touchscreen to come alive on my PC monitor almost instantaneously.
I call it “rtgnuplotter”. A weird name I know
, but I just wanted to refer to it as a real time data plotter based on gnuplot. Please check it out at Home Page of RTGNUPlotter.
I’d love to hear from you if you found it useful. Please send in your bug reports and feature requests and I’d be glad if you could spread a word about it amongst your data-loving friends



i liked ur old blog more…made more sense to me.
farah, long time no see…
It’s a really cool tool. However, have you considered saving those few hours and using something out-of-the-box? For instance, LiveGraph (http :// www DOT live-graph DOT org) is open source, has a BSD-style license and is cross-platform.
@Gragus: Thanks for that link. Actually one of the reasons was that gnuplot is installed on most of our systems and even if not, it doesn’t require any installation as such and I can just zip it up with my scripts and give to a user, so used that. I’ll check out LiveGraph as well. Thanks once again.
Hey D.A
i also liked the old one. But give them more time
Year, I see. LiveGraph does not need to be installed either, it’s just an archive that you need to unzip, but it needs Java to be installed. Generally, I think, GNUPlot is much more powerful when you want to customise your plot, but LiveGraph is better suited for real time data viewing and automatic layout. The few options that are included are easier to use, LiveGraph and GNUPlot kinda have two different use cases and it depends on what you need.