better temperature hourly plot

This commit is contained in:
2019-02-09 04:06:09 +01:00
parent acd1248fa5
commit e16879a8a2
3 changed files with 11 additions and 6 deletions

View File

@@ -10,13 +10,13 @@ NB_READ=5000
./t -vv -n ${NB_READ} -d ${DEVICE} | tee -a ${DATAFILE}
gnuplot << __EOC__
set term png size 3200,640
set term png size 4200,640
set output "${IMAGE}"
set grid
set title "Temperature dans le Double Dragon 2"
set xdata time
set timefmt "%s"
set format x "%a, %H:%M:%S"
set format x "%d, %H:%M:%S"
set yrange [ 0.0 : 30.0]
plot "${DATAFILE}" using 1:2 title " foo" with lines, \
"${DATAFILE}" using 1:3 title " bar" with lines, \