diff options
author | Robin Krahl <guskraro@student.gu.se> | 2017-10-23 15:18:57 +0200 |
---|---|---|
committer | Robin Krahl <guskraro@student.gu.se> | 2017-10-23 15:18:57 +0200 |
commit | ef2139ca2d442979daefa9e84cc9d27ce620d9e2 (patch) | |
tree | 8b3fae66f242e5ca8f2928bc8e3d0cc64903d8b4 | |
parent | a97c2967c3683f10babbd61db6af3c1d2123c63d (diff) | |
download | midbro-ef2139ca2d442979daefa9e84cc9d27ce620d9e2.tar.gz midbro-ef2139ca2d442979daefa9e84cc9d27ce620d9e2.tar.bz2 |
livegraph.sh: Update graph title
-rwxr-xr-x | broccoli/script/livegraph.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/broccoli/script/livegraph.sh b/broccoli/script/livegraph.sh index 4ecf1d1..67111bc 100755 --- a/broccoli/script/livegraph.sh +++ b/broccoli/script/livegraph.sh @@ -20,7 +20,7 @@ function plot() { scp -i /home/andreas/.ssh/pasadpi_rsa -P 8022 "${SCP_EXPR}/sensor.dat" "${SCP_EXPR}/distance.dat" . tail -1000 sensor.dat > sensor-1000.dat tail -1000 distance.dat > distance-1000.dat - echo "set terminal png; set yrange [17000:17300]; set y2range [0:300]; set ytics nomirror; set y2tics nomirror; set title 'Live demo'; set ylabel 'sensor value'; set y2label 'distance'; plot 'sensor-1000.dat' using 0:1 with line title 'sensor value', 'distance-1000.dat' using 0:1 axis x1y2 with line title 'distance'" | gnuplot > live-tmp.png + echo "set terminal png; set yrange [17000:17300]; set y2range [0:300]; set ytics nomirror; set y2tics nomirror; set title 'Midbro/PASAD demo'; set ylabel 'sensor value'; set y2label 'distance'; plot 'sensor-1000.dat' using 0:1 with line title 'sensor value', 'distance-1000.dat' using 0:1 axis x1y2 with line title 'distance'" | gnuplot > live-tmp.png mv live-tmp.png live.png } |