Monitoring du Phytotron
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
523 B

tail -${NBLINES} ${INFILE} | ./av4v-h.awk > ${TMPFILE}
gnuplot << __EOC__
set term png size 1280,420
set output "${IMAGE}"
set grid
set title "Hourly average on the last ${NBLINES} samples"
set xlabel "Heures"
set ylabel "Temperature"
set yrange [ 0.0 : 30.0]
set xdata time
set timefmt "%s"
set format x "%d, %H:%M"
plot "${TMPFILE}" using 1:2 title "celcius" with lines
cat -n ${TMPFILE} | tail -20