show only hour on x asix, fix timezone
[vaillant-thermostat] / temp2.gnuplot
1 set terminal pngcairo mono size 600,800
2
3 set xdata time
4 set timefmt "%s"
5
6 set xtics format "%H"
7
8 set pointsize 0.2
9
10 set output '/dev/shm/temp2.png'
11
12 set multiplot
13 set size 1, 0.5
14
15 set origin 0.0, 0.5
16
17 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"
18
19 set origin 0.0, 0.0
20
21 plot "/dev/shm/DHT22-humidity" using ($1+7200):($2 > 3 ? $2 : '') with dots title "DHT22 % hum"
22
23 unset multiplot