From: Tomas Mudrunka Date: Thu, 2 Aug 2012 20:04:40 +0000 (+0200) Subject: Gnuplot scaling fixed X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=78c1319509157b7d91e2987a5fb4005610a827bd;p=mirrors%2FPrograms.git Gnuplot scaling fixed --- diff --git a/c/goertzel/sleepplot.sh b/c/goertzel/sleepplot.sh index b8cf54c..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"