From a22f8965c89e730071dca14ea6ff49a9bc6d0303 Mon Sep 17 00:00:00 2001 From: jonathan santis Date: Thu, 28 Nov 2024 12:54:09 +0100 Subject: [PATCH] add liveplotting --- gnuplot.note | 2 ++ live_plot | 6 ++++++ 2 files changed, 8 insertions(+) create mode 100644 live_plot diff --git a/gnuplot.note b/gnuplot.note index 88aeee3..e346bc9 100644 --- a/gnuplot.note +++ b/gnuplot.note @@ -2,4 +2,6 @@ gnuplot 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 +pause 3 +reread diff --git a/live_plot b/live_plot new file mode 100644 index 0000000..fdd87a6 --- /dev/null +++ b/live_plot @@ -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 +}