From 0b7a862dd233d30da799913ac097958fefb6e9a4 Mon Sep 17 00:00:00 2001 From: tth Date: Sat, 12 Jan 2019 17:49:41 +0100 Subject: [PATCH] mise a l'echelle du graphe --- serial/essai.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/serial/essai.sh b/serial/essai.sh index 0d9a601..1935161 100755 --- a/serial/essai.sh +++ b/serial/essai.sh @@ -5,7 +5,7 @@ DATAFILE="foo.dat" TMPFILE="/tmp/dd2data" IMAGE="graphe.png" -NB_READ=160 +NB_READ=15000 ./t -v -n ${NB_READ} -d ${DEVICE} | tee -a ${DATAFILE} @@ -16,6 +16,7 @@ set grid set xdata time set timefmt "%s" set format x "%H:%M:%S" +set yrange [-5.0 : 30.0] plot "${DATAFILE}" using 1:2 title " foo" with lines, \ "${DATAFILE}" using 1:3 title " bar" with lines, \ "${DATAFILE}" using 1:4 title "quux" with lines, \