projects
/
visomat-utils.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8d67f9a
)
contrib/visomat.gnuplot: improve plotting data for both users
author
Antonio Ospite <ao2@ao2.it>
Thu, 5 Nov 2015 22:10:32 +0000
(23:10 +0100)
committer
Antonio Ospite <ao2@ao2.it>
Thu, 5 Nov 2015 22:10:32 +0000
(23:10 +0100)
contrib/visomat.gnuplot
patch
|
blob
|
history
diff --git
a/contrib/visomat.gnuplot
b/contrib/visomat.gnuplot
index
0c6427c
..
c2e9b36
100755
(executable)
--- a/
contrib/visomat.gnuplot
+++ b/
contrib/visomat.gnuplot
@@
-3,8
+3,21
@@
set datafile separator ';'
set timefmt "%d/%m/%Y-%H.%M"
set xdata time
set datafile separator ';'
set timefmt "%d/%m/%Y-%H.%M"
set xdata time
+set format x "%d/%m/%Y\n%H.%M"
+set xtics out nomirror rotate by -45
+set multiplot layout 2,1
+
+set title "User 1"
+plot \
+ 'data.csv' i 0 using (stringcolumn(1).'-'.stringcolumn(2)):3 every ::1 with lp title "systolic", \
+ 'data.csv' i 0 using (stringcolumn(1).'-'.stringcolumn(2)):4 every ::1 with lp title "diastolic", \
+ 'data.csv' i 0 using (stringcolumn(1).'-'.stringcolumn(2)):5 every ::1 with lp title "pulses"
+
+set title "User 2"
plot \
plot \
- 'data.csv' using (stringcolumn(1).'-'.stringcolumn(2)):3 every ::1 with lp title "systolic", \
- 'data.csv' using (stringcolumn(1).'-'.stringcolumn(2)):4 every ::1 with lp title "diastolic", \
- 'data.csv' using (stringcolumn(1).'-'.stringcolumn(2)):5 every ::1 with lp title "pulses"
+ 'data.csv' i 1 using (stringcolumn(1).'-'.stringcolumn(2)):3 every ::1 with lp title "systolic", \
+ 'data.csv' i 1 using (stringcolumn(1).'-'.stringcolumn(2)):4 every ::1 with lp title "diastolic", \
+ 'data.csv' i 1 using (stringcolumn(1).'-'.stringcolumn(2)):5 every ::1 with lp title "pulses"
+
+unset multiplot