Linux Journal: A Real-Time Data Plotting Program | Linux Today

Linux Journal: A Real-Time Data Plotting Program

Written By
Web Webster
Web Webster
Mar 13, 2000

“This article describes the implementation of rtp (real-time
plotter), a live x,y data plotting utility based on the Qt
windowing library. rtp combines live updates with zoom in,
auto-scaling, and auto-tracking modes. It is meant to be used where
gnuplot is limited, such as the termination of a live data
pipeline.
However, rtp is small and does not attempt to cover
gnuplot’s large feature set for producing publishable data
plots….”

“rtp provides real-time updates and basic mouse-driven
resolution selection. However, it lacks gnuplot’s ability to send
formatted, titled plots to a printer. rtp is still a simple piece
of software (1200 lines of code) that needs many features added. By
describing its principles here, I hope to provide a useful, gentle
example of an application based on the Qt library and the X Window
System. I also hope to motivate some interested people to do more
work on a Linux-based real-time, interactive data visualization
system. This could be done either by extending rtp or as a
completely new project….”

“rtp’s architecture is complicated by two additional
requirements, beyond the snappy GUI response. It must quickly
update when new data points are available on STDIN. This feature is
what differentiates rtp from other plot programs, such as gnuplot.
It must also deal with the fact that rendering the data set often
takes more time than is acceptable for a GUI delay. This precludes
the use of a simple function call to render the whole plot.”

Complete
Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.