filter erronious temperatures > 45 dec celsius
authorDobrica Pavlinusic <dpavlin@rot13.org>
Thu, 6 Jul 2017 05:26:27 +0000 (07:26 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Thu, 6 Jul 2017 05:26:27 +0000 (07:26 +0200)
temp2.gnuplot

index 0d4bf08..cbee3b7 100644 (file)
@@ -14,7 +14,7 @@ set size 1, 0.5
 
 set origin 0.0, 0.5
 
-plot "/dev/shm/DS18B20-temperature" using ($1+7200):($2 > 3 ? $2 : '') with dots title "DS18B20 deg. C","/dev/shm/DHT22-temperature" using ($1+7200):($2 > 3 && $2 < 45 ? $2 : '') with dots title "DHT22 deg. C"
+plot "/dev/shm/DS18B20-temperature" using ($1+7200):($2 > 3 && $2 < 45 ? $2 : '') with dots title "DS18B20 deg. C","/dev/shm/DHT22-temperature" using ($1+7200):($2 > 3 && $2 < 45 ? $2 : '') with dots title "DHT22 deg. C"
 
 set origin 0.0, 0.0