X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=c%2Fgoertzel%2Fsleepplot.sh;h=45e80949fd230cc14c9359a70680f79c682dba79;hb=78c1319509157b7d91e2987a5fb4005610a827bd;hp=09fd050ccab6659a384d199a84569c4e5c528265;hpb=7cd5c7da35ac8f7e5596e4133c85e1f24e66f418;p=mirrors%2FPrograms.git diff --git a/c/goertzel/sleepplot.sh b/c/goertzel/sleepplot.sh index 09fd050..45e8094 100755 --- a/c/goertzel/sleepplot.sh +++ b/c/goertzel/sleepplot.sh @@ -7,7 +7,7 @@ test -z "$1" && { size="$(tail -n 1 "$1" | cut -d . -f 1)" test $size -gt 3600 && size="$(( $size/10 ))" #For prolonged periods -size="$(( 200 + ($size * 2) ))" +size="$(( 600 + $size ))" gnuplot << EOF set output "$1.png" @@ -29,7 +29,7 @@ set timefmt "%s" set grid #set pointsize 0.5 -plot "$1" using 2:5 with histeps; +plot "$1" using 2:5 with steps; EOF