2007-08-05 11:17:46 +00:00
|
|
|
#
|
|
|
|
# Display the Temperature and the humidity values of a KS300.
|
|
|
|
# FileLog definition:
|
|
|
|
# define FileLog ks300log ks300:.*H:.* /var/log/ks300-%Y-%U.log
|
|
|
|
#
|
2008-05-09 13:58:10 +00:00
|
|
|
set terminal png transparent size 800,200 crop
|
2007-08-05 11:17:46 +00:00
|
|
|
set output '<OUT>.png'
|
|
|
|
set xdata time
|
|
|
|
set timefmt "%Y-%m-%d_%H:%M:%S"
|
|
|
|
set xlabel " "
|
|
|
|
set ytics nomirror
|
|
|
|
set y2tics
|
2007-10-03 16:35:37 +00:00
|
|
|
set title '<TL>'
|
2007-08-05 11:17:46 +00:00
|
|
|
set grid
|
|
|
|
|
|
|
|
set ylabel "Temperature (Celsius)"
|
|
|
|
set y2label "Rain (l/m2)"
|
|
|
|
|
|
|
|
plot "<grep avg_day <IN>" using 1:5 axes x1y1 title 'Temperature' with lines,\
|
|
|
|
"<grep avg_day <IN>" using 1:11 axes x1y2 title 'Rain' with histeps
|