add liveplotting

This commit is contained in:
jonathan santis 2024-11-28 12:54:09 +01:00
parent 2669a213fc
commit a22f8965c8
2 changed files with 8 additions and 0 deletions

View File

@ -2,4 +2,6 @@ gnuplot
set datafile separator ',' set datafile separator ','
set key autotitle columnhead set key autotitle columnhead
plot 'plot.dat' using 0:1, 'plot.dat' using 0:2, 'plot.dat' using 0:3, 'plot.dat' using 0:4 plot 'plot.dat' using 0:1, 'plot.dat' using 0:2, 'plot.dat' using 0:3, 'plot.dat' using 0:4
pause 3
reread

6
live_plot Normal file
View File

@ -0,0 +1,6 @@
while (1) {
set datafile separator ','
set key autotitle columnhead
plot 'plot.dat' using 0:1, 'plot.dat' using 0:2, 'plot.dat' using 0:3, 'plot.dat' using 0:4
}