set terminal pngcairo mono size 600,800 set xdata time set timefmt "%s" set pointsize 0.2 set output '/dev/shm/temp.png' set multiplot set size 1, 0.5 set origin 0.0, 0.5 plot "/dev/shm/temp.tsv" using 1:2 with points title "DS18B20 deg. C","/dev/shm/temp.tsv" using 1:($3 > 1 && $3 < 45 ? $3 : '') with dots title "DHT22 deg. C" set origin 0.0, 0.0 plot "/dev/shm/temp.tsv" using 1:($4 > 3 ? $4 : '') with dots title "DHT22 % hum" unset multiplot