no more seconds

This commit is contained in:
tth 2019-02-23 16:40:02 +01:00
parent 71534c19bc
commit 6bf18548b5
1 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ DATAFILE="foo.dat"
TMPFILE="/tmp/dd2data" TMPFILE="/tmp/dd2data"
IMAGE="graphe.png" IMAGE="graphe.png"
NB_READ=500 NB_READ=2500
./t -vv -n ${NB_READ} -d ${DEVICE} | tee -a ${DATAFILE} ./t -vv -n ${NB_READ} -d ${DEVICE} | tee -a ${DATAFILE}
@ -16,7 +16,7 @@ set grid
set title "Temperature dans le Double Dragon 2" set title "Temperature dans le Double Dragon 2"
set xdata time set xdata time
set timefmt "%s" set timefmt "%s"
set format x "%d, %H:%M:%S" set format x "%d, %H:%M"
set yrange [ 0.0 : 30.0 ] set yrange [ 0.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, \