1 set terminal pngcairo color size 600,800
10 set output '/dev/shm/temp2.png'
17 if ( ! exists("t_mean")) {
25 print "using default mean and spread"
28 min_t = t_mean - t_spread
29 max_t = t_mean + t_spread
34 plot "/dev/shm/DS18B20-temperature" using ($1+7200):($2 > min_t && $2 < max_t ? $2 : '') with dots title "DS18B20 deg. C" \
35 ,"/dev/shm/DHT22-temperature" using ($1+7200):($2 > min_t && $2 < max_t ? $2 : '') with dots title "DHT22 deg. C" \
36 ,"/dev/shm/rtl_433-temperature" using ($1+7200):($2) with dots title "RTL433 deg. C" axes x1y2
41 min_h = h_mean - h_spread
42 max_h = h_mean + h_spread
44 plot "/dev/shm/DHT22-humidity" using ($1+7200):($2 > min_h && $2 < max_h ? $2 : '') with dots title "DHT22 % hum" \
45 ,"/dev/shm/rtl_433-humidity" using ($1+7200):($2) with dots title "RTL433 % hum" axis x1y2