feat: re-think how I collate the data
Vibe-coding being stupid strikes again.
This commit is contained in:
@@ -22,7 +22,7 @@ set multiplot
|
||||
set yrange [-0.1:2 < * < 10] extend
|
||||
set xrange [-1000:30000] extend
|
||||
unset ytics
|
||||
plot "data/1066528_acceleration.txt" using 1:(dmag($2,$3,$4)) w l t "Motion" lw 1 lc "gray"
|
||||
plot "data/motion/1066528_acceleration.txt" using 1:(dmag($2,$3,$4)) w l t "Motion" lw 1 lc "gray"
|
||||
|
||||
unset title
|
||||
unset xtics
|
||||
@@ -30,8 +30,8 @@ unset border
|
||||
|
||||
set yrange [-2:8]
|
||||
set ytics ("Wake" 0, "N1" 1, "N2" 2, "N3" 3, "REM" 5)
|
||||
plot "data/1066528_labeled_sleep.txt" using 1:2 w l t "Sleep" lw 3 lc "blue"
|
||||
plot "data/labels/1066528_labeled_sleep.txt" using 1:2 w l t "Sleep" lw 3 lc "blue"
|
||||
|
||||
set y2range [0:200]
|
||||
set datafile separator ","
|
||||
plot "data/1066528_heartrate.txt" using 1:2 w l axes x1y2 t "HR" lc "red"
|
||||
plot "data/heart_rate/1066528_heartrate.txt" using 1:2 w l axes x1y2 t "HR" lc "red"
|
||||
@@ -0,0 +1,23 @@
|
||||
set term qt
|
||||
set title "Subject 1066528 Sleep"
|
||||
|
||||
# ==================== DATA =====================
|
||||
# timestamp heartrate motion-avg stage
|
||||
# 0 6.38561 52 0.002510 0
|
||||
# 1 9.38561 52 0.002611 0
|
||||
# 2 13.38564 51 0.002815 0
|
||||
# 3 18.38561 52 0.004884 0
|
||||
set multiplot
|
||||
|
||||
plot "data/output/1066528-training-set.txt" skip 1 using 2:3 w l t "Heartrate" lw 1 lc "red"
|
||||
|
||||
unset title
|
||||
unset xtics
|
||||
unset ytics
|
||||
unset border
|
||||
|
||||
plot "data/output/1066528-training-set.txt" skip 1 using 2:4 w l t "Motion" lw 1 lc "grey"
|
||||
|
||||
set y2tics ("Wake" 0, "N1" 1, "N2" 2, "N3" 3, "REM" 5)
|
||||
set y2range [-2:8]
|
||||
plot "data/output/1066528-training-set.txt" skip 1 using 2:5 w l axes x1y2 t "Stage" lw 2 lc "blue"
|
||||
Reference in New Issue
Block a user