Plotting streaming data in real-time with Gnuplot

Our friend Thanassis Tsiodras, who you may remember as the creator of the offline Wikipedia reader, wrote in to tell us about a handy way to plot real-time data using standard unix tools.
For the last couple of years, I've been working on European Space Agency (ESA) projects - writing rather complex code generators. In the ESA project I am currently working on, I am also the technical lead; and I recently faced the need to provide real-time plotting of streaming data. Being a firm believer in open-source, after a little Googling I found Gnuplot; and quickly hacked a Perl script that spawns instances of Gnuplot and plots streaming data in real-time. Googling doesn't reveal anything similar, so I published it here.
You can easily pipe any data stream into his druveGnuPlots.pl script, choose the zoom and y-range and it will take care of reading in the data and passing it to Gnuplot with your specifications. This is pretty neat, since it means you can easily plot just about anything and all you need to do is get your measurements into a newline-delimited output format.
Visualize real-time data streams with Gnuplot
Posted by Jason Striegel |
Sep 22, 2008 08:26 PM
Linux, Science |
Permalink
| Comments (1)
Recent Entries
- PhoneGap - develop native iPhone applications in HTML/Javascript
- Plotting streaming data in real-time with Gnuplot
- Arduway: LEGO and Arduino make a Segway
- WiFi robot
- Resin casting
- The (unfortunate) iPhone Development Story
- Stanford Engineering Everywhere
- DIY espresso machine
- Zoom H2 line input hack - make a 4 channel field recorder
- SnackUpon
Bloggers
Welcome to the Hacks Blog!
Categories
- Ajax
- Amazon
- AppleTV
- Astronomy
- Baseball
- BlackBerry
- Blogging
- Body
- Cars
- Cryptography
- Data
- Design
- Education
- Electronics
- Energy
- Events
- Excel
- Excerpts
- Firefox
- Flash
- Flickr
- Flying Things
- Food
- Gaming
- Gmail
- Google Earth
- Google Maps
- Government
- Greasemonkey
- Hacks Series
- Hackszine Podcast
- Halo
- Hardware
- Home
- Home Theater
- iPhone
- iPod
- IRC
- iTunes
- Java
- Kindle
- Knoppix
- Language
- LEGO
- Life
- Lifehacker
- Linux
- Linux Desktop
- Linux Multimedia
- Linux Server
- Mac
- Mapping
- Math
- Microsoft Office
- Mind
- Mind Performance
- Mobile Phones
- Music
- MySpace
- MySQL
- NetFlix
- Network Security
- olpc
- OpenOffice
- Outdoor
- Parenting
- PCs
- PDAs
- Perl
- Philosophy
- Photography
- PHP
- Pleo
- Podcast
- Podcasting
- Productivity
- PSP
- Retro Computing
- Retro Gaming
- Science
- Screencasts
- Security
- Shopping
- Skype
- Smart Home
- Software Engineering
- Sports
- SQL
- Statistics
- Survival
- TiVo
- Transportation
- Travel
- Ubuntu
- Video
- Virtualization
- Visual Studio
- VoIP
- Web
- Web Site Measurement
- Windows
- Windows Server
- Wireless
- Word
- World
- Xbox
- Yahoo!
- YouTube
Archives
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
Recent Posts
- Plotting streaming data in real-time with Gnuplot
- Arduway: LEGO and Arduino make a Segway
- WiFi robot
- Resin casting
- The (unfortunate) iPhone Development Story
- Stanford Engineering Everywhere
- DIY espresso machine
- Zoom H2 line input hack - make a 4 channel field recorder
- SnackUpon
- Removing tourists from your travel photos
www.flickr.com
|






Leave a comment