From 78c1319509157b7d91e2987a5fb4005610a827bd Mon Sep 17 00:00:00 2001 From: Tomas Mudrunka Date: Thu, 2 Aug 2012 22:04:40 +0200 Subject: [PATCH] Gnuplot scaling fixed --- c/goertzel/sleepplot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.30.2