Fix parsing the eeprom when there are users with no records
[visomat-utils.git] / contrib / visomat.gnuplot
1 #!/usr/bin/gnuplot -persist
2
3 set datafile separator ';'
4 set timefmt "%d/%m/%Y-%H.%M"
5 set xdata time
6
7 plot \
8   'data.csv' using (stringcolumn(1).'-'.stringcolumn(2)):3 every ::1 with lp title "systolic", \
9   'data.csv' using (stringcolumn(1).'-'.stringcolumn(2)):4 every ::1 with lp title "diastolic", \
10   'data.csv' using (stringcolumn(1).'-'.stringcolumn(2)):5 every ::1 with lp title "pulses"