X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=temp.gnuplot;h=9540a21b64e541bc1afff9cc8aae8d0e2b2d4563;hb=577312aac6cb7b0300fa9d68442672b83b2a36f5;hp=50a476b8d2a03380b8029c0e5aebbd820d661a8a;hpb=28a614b0332203c8fd0766c3926ef048848e7b82;p=vaillant-thermostat diff --git a/temp.gnuplot b/temp.gnuplot index 50a476b..9540a21 100644 --- a/temp.gnuplot +++ b/temp.gnuplot @@ -1,17 +1,21 @@ -set terminal png size 600,250 +set terminal pngcairo mono size 600,800 set xdata time set timefmt "%s" set pointsize 0.2 -set output '/dev/shm/1.png' +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 output '/dev/shm/2.png' -plot "/dev/shm/temp.tsv" using 1:($3 > 1 && $3 < 45 ? $3 : '') with dots title "DHT22 deg. C" +set origin 0.0, 0.0 -set output '/dev/shm/3.png' plot "/dev/shm/temp.tsv" using 1:($4 > 3 ? $4 : '') with dots title "DHT22 % hum" - +unset multiplot