cd4452e113b0308a5ba93e53540013be0c043608
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
="$(( 600 + $size ))"
14 set terminal png size $size,200
16 set title "Sleep motions"
24 #set format x "%H:%M:%S"
29 plot "$1" using 2:5 with steps
This page took 0.269812 seconds and 4 git commands to generate.