Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Real time plotting/data logging

I'm going to write a program that plots data from a sensor connected to the computer. The sensor value is going to be plotted as a function of the time (sensor value on the y-axis, time on the x-axis). I want to be able to add new values to the plot in real time. What would be best to do this with in C++?

Edit: And by the way, the program will be running on a Linux machine

like image 874
Paul Avatar asked Feb 03 '10 12:02

Paul


1 Answers

Are you particularly concerned about the C++ aspect? I've done 10Hz or so rate data without breaking a sweat by putting gnuplot into a read/plot/refresh loop or with LiveGraph with no issues.

like image 110
Digikata Avatar answered Oct 31 '22 01:10

Digikata