b8cf54ce3d978521edd547f8dcb4bd967d9905d0
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 steps;
This page took 0.272119 seconds and 4 git commands to generate.