Gnuplot scaling fixed
[mirrors/Programs.git] / c / goertzel / sleepplot.sh
index 09fd050ccab6659a384d199a84569c4e5c528265..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"
@@ -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
 
This page took 0.138101 seconds and 4 git commands to generate.