aboutsummaryrefslogtreecommitdiff
path: root/broccoli
diff options
context:
space:
mode:
authorAndreas Lindhé <andreas@lindhe.io>2017-10-23 14:54:56 +0200
committerAndreas Lindhé <andreas@lindhe.io>2017-10-23 14:55:13 +0200
commit413427cfa2007c7274b2bf746bb62df935383322 (patch)
treed6b53d5c6edf318bf8e895c5a06b080ba14596c9 /broccoli
parent834d56a62113b049861aac56918a05bb6c44cbef (diff)
downloadmidbro-413427cfa2007c7274b2bf746bb62df935383322.tar.gz
midbro-413427cfa2007c7274b2bf746bb62df935383322.tar.bz2
Update plot script with remote scp settings
Diffstat (limited to 'broccoli')
-rwxr-xr-x[-rw-r--r--]broccoli/script/livegraph.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/broccoli/script/livegraph.sh b/broccoli/script/livegraph.sh
index 6a095c4..1a0e511 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" .
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
}