09fd050ccab6659a384d199a84569c4e5c528265
4 echo "Usage: $0 sleeplog.txt"
8 size
="$(tail -n 1 "$1" | cut -d . -f 1)"
9 test $size -gt 3600 && size
="$(( $size/10 ))" #For prolonged periods
10 size
="$(( 200 + ($size * 2) ))"
14 set terminal png size $size,200
16 set title "Sleep motions"
24 #set format x "%H:%M:%S"
32 plot "$1" using 2:5 with histeps;
This page took 0.38024 seconds and 3 git commands to generate.