Gnuplot scaling fixed
authorTomas Mudrunka <tomas@mudrunka.cz>
Thu, 2 Aug 2012 20:04:40 +0000 (22:04 +0200)
committerTomas Mudrunka <tomas@mudrunka.cz>
Thu, 2 Aug 2012 20:04:40 +0000 (22:04 +0200)
c/goertzel/sleepplot.sh

index b8cf54ce3d978521edd547f8dcb4bd967d9905d0..45e80949fd230cc14c9359a70680f79c682dba79 100755 (executable)
@@ -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"
This page took 0.084928 seconds and 4 git commands to generate.