From 413427cfa2007c7274b2bf746bb62df935383322 Mon Sep 17 00:00:00 2001 From: Andreas Lindhé Date: Mon, 23 Oct 2017 14:54:56 +0200 Subject: Update plot script with remote scp settings --- broccoli/script/livegraph.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 broccoli/script/livegraph.sh (limited to 'broccoli') diff --git a/broccoli/script/livegraph.sh b/broccoli/script/livegraph.sh old mode 100644 new mode 100755 index 6a095c4..1a0e511 --- 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" . echo "set terminal png; plot 'sensor.dat' using 0:1 with line, 'distance.dat' using 0:1 axis x1y2 with line"| gnuplot > live-tmp.png mv live-tmp.png live.png } -- cgit v1.2.3