diff options
Diffstat (limited to 'broccoli/script/livegraph.sh')
-rwxr-xr-x[-rw-r--r--] | 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 35914d1..88cd87f 100644..100755 --- a/broccoli/script/livegraph.sh +++ b/broccoli/script/livegraph.sh @@ -17,7 +17,7 @@ then fi function plot() { - scp "${SCP_EXPR}/sensor.dat" "${SCP_EXPR}/distance.dat" . + 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 'Midbro/PASAD demo'; 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 |