mise a l'echelle du graphe

This commit is contained in:
tth 2019-01-12 17:49:41 +01:00
parent 8989ff558b
commit 0b7a862dd2

View File

@ -5,7 +5,7 @@ DATAFILE="foo.dat"
TMPFILE="/tmp/dd2data" TMPFILE="/tmp/dd2data"
IMAGE="graphe.png" IMAGE="graphe.png"
NB_READ=160 NB_READ=15000
./t -v -n ${NB_READ} -d ${DEVICE} | tee -a ${DATAFILE} ./t -v -n ${NB_READ} -d ${DEVICE} | tee -a ${DATAFILE}
@ -16,6 +16,7 @@ set grid
set xdata time set xdata time
set timefmt "%s" set timefmt "%s"
set format x "%H:%M:%S" set format x "%H:%M:%S"
set yrange [-5.0 : 30.0]
plot "${DATAFILE}" using 1:2 title " foo" with lines, \ plot "${DATAFILE}" using 1:2 title " foo" with lines, \
"${DATAFILE}" using 1:3 title " bar" with lines, \ "${DATAFILE}" using 1:3 title " bar" with lines, \
"${DATAFILE}" using 1:4 title "quux" with lines, \ "${DATAFILE}" using 1:4 title "quux" with lines, \