GIT.Harvie.CZ
/
mirrors
/
Programs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Commented unfinished mess
[mirrors/Programs.git]
/
c
/
goertzel
/
sleepplot.sh
diff --git
a/c/goertzel/sleepplot.sh
b/c/goertzel/sleepplot.sh
index 6d682a8337d7adbd4c6502098fa7a6eb0c781a67..00d275a62fccdebeb5ed75c50b8d087a15966208 100755
(executable)
--- a/
c/goertzel/sleepplot.sh
+++ b/
c/goertzel/sleepplot.sh
@@
-17,7
+17,7
@@
size="$(( 600 + $size ))"
#Plot it
gnuplot << EOF
set output "$graphout"
#Plot it
gnuplot << EOF
set output "$graphout"
-set terminal png size $size,
3
00
+set terminal png size $size,
4
00
set title "Sleep motions"
set xlabel "time"
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,\
#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:(\$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
EOF
This page took
0.100741 seconds
and
4
git commands to generate.