Commented unfinished mess
[mirrors/Programs.git] / c / goertzel / sleepplot.sh
index 6d682a8337d7adbd4c6502098fa7a6eb0c781a67..00d275a62fccdebeb5ed75c50b8d087a15966208 100755 (executable)
@@ -17,7 +17,7 @@ size="$(( 600 + $size ))"
 #Plot it
 gnuplot << EOF
 set output "$graphout"
-set terminal png size $size,300
+set terminal png size $size,400
 
 set title "Sleep motions"
 set xlabel "time"
@@ -34,9 +34,11 @@ set grid
 #set pointsize 0.5
 plot\
 "$in" using 2:5 title "Sensor state" with steps,\
-"" using 2:(\$6*3) title "Avg. 10s" with lines,\
+"" using 2:(\$6*2) title "Avg. 10s" with lines,\
 "" using 2:(\$7*3) title "Avg. 30s" with lines,\
-"" using 2:(\$8*3) title "Avg. 120s" smooth bezier\
+"" using 2:(\$8*3) title "Avg. 60s" with lines,\
+"" using 2:(\$9*3) title "Avg. 90s" with lines,\
+"" using 2:(\$10*4) title "Avg. 120s" smooth bezier\
 
 EOF
 
This page took 0.129156 seconds and 4 git commands to generate.