X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=temp3.gnuplot;h=71f9e9f975edc78678ecf62a12f30ee7c447b3c5;hb=3d3b89419d1779891fd4cd4701ceeafff6a22c44;hp=e97391255cdb1b7262838c93fb653c8db0591a12;hpb=558a884c73f336c667f6fa174bd747e79c08d1fd;p=vaillant-thermostat diff --git a/temp3.gnuplot b/temp3.gnuplot index e973912..71f9e9f 100644 --- a/temp3.gnuplot +++ b/temp3.gnuplot @@ -59,13 +59,17 @@ set y2range [0:50] set key horizontal outside top right +# re-formated using awk +#set datafile separator "," + plot \ "/dev/shm/data.DHT22-t" using ($1+tz_secs):($2 > min_t && $2 < max_t ? $2 : '') with dots title "DHT22" lt rgb "#ff00ff" \ ,"/dev/shm/data.ir-dht22-t-h" using ($1+tz_secs):($2) with dots title "ir" lt rgb "#884400" \ ,"/dev/shm/data.stol-dht11-t-h" using ($1+tz_secs):($2) with dots title "stol" lt rgb "#cc4400" \ ,"/dev/shm/data.kuhinja-t-h" using ($1+tz_secs):($2) with dots title "kuhinja" lt rgb "#ff8844" \ -,"/dev/shm/data.kupaona-t-h" using ($1+tz_secs):($2) with dots title "kupaona" lt rgb "#00ff80" \ +,"/dev/shm/data.kupaona-t-h" using ($1+tz_secs):($2) with dots title "kupaona" lt rgb "#000088" \ ,"/dev/shm/data.soba-t-h" using ($1+tz_secs):($2) with dots title "soba" lt rgb "#ffcc00" \ +,"/dev/shm/data.hodnik-t-h" using ($1+tz_secs):($2) with dots title "hodnik" lt rgb "#80ff80" \ ,"/dev/shm/data.vani-t-h" using ($1+tz_secs):($2) with dots title "sunce" lt rgb "#00cc00" \ ,"/dev/shm/data.kutija-t-h" using ($1+tz_secs):($2) with dots title "hlad" lt rgb "#0088cc" \ ,"/dev/shm/data.DS18B20-t" using ($1+tz_secs):($2 > min_t && $2 < max_t ? $2 : '') with dots title "DS18B20" lt rgb "#880088" \ @@ -78,8 +82,9 @@ plot \ ,"/dev/shm/data.ir-dht22-t-h" using ($1+tz_secs):($2) with lines title "ir" lt rgb "#884400" \ ,"/dev/shm/data.stol-dht11-t-h" using ($1+tz_secs):($2) with lines title "stol" lt rgb "#cc4400" \ ,"/dev/shm/data.kuhinja-t-h" using ($1+tz_secs):($2) with lines title "kuhinja" lt rgb "#ff8844" \ -,"/dev/shm/data.kupaona-t-h" using ($1+tz_secs):($2) with lines title "kupaona" lt rgb "#00ff80" \ +,"/dev/shm/data.kupaona-t-h" using ($1+tz_secs):($2) with lines title "kupaona" lt rgb "#000088" \ ,"/dev/shm/data.soba-t-h" using ($1+tz_secs):($2) with lines title "soba" lt rgb "#ffcc00" \ +,"/dev/shm/data.hodnik-t-h" using ($1+tz_secs):($2) with lines title "hodnik" lt rgb "#80ff80" \ ,"/dev/shm/data.vani-t-h" using ($1+tz_secs):($2) with lines title "sunce" lt rgb "#00cc00" \ ,"/dev/shm/data.kutija-t-h" using ($1+tz_secs):($2) with lines title "hlad" lt rgb "#0088cc" \ ,"/dev/shm/data.DS18B20-t" using ($1+tz_secs):($2 > min_t && $2 < max_t ? $2 : '') with lines title "DS18B20" lt rgb "#880088" \ @@ -102,8 +107,9 @@ plot \ ,"/dev/shm/data.ir-dht22-t-h" using ($1+tz_secs):($3) with dots title "ir" lt rgb "#884400" \ ,"/dev/shm/data.stol-dht11-t-h" using ($1+tz_secs):($3) with dots title "stol" lt rgb "#cc4400" \ ,"/dev/shm/data.kuhinja-t-h" using ($1+tz_secs):($3) with dots title "kuhinja" lt rgb "#ff8844" \ -,"/dev/shm/data.kupaona-t-h" using ($1+tz_secs):($3) with dots title "kupaona" lt rgb "#00ff80" \ +,"/dev/shm/data.kupaona-t-h" using ($1+tz_secs):($3) with dots title "kupaona" lt rgb "#000088" \ ,"/dev/shm/data.soba-t-h" using ($1+tz_secs):($3) with dots title "soba" lt rgb "#ffcc00" \ +,"/dev/shm/data.hodnik-t-h" using ($1+tz_secs):($3) with dots title "hodnik" lt rgb "#80ff80" \ ,"/dev/shm/data.vani-t-h" using ($1+tz_secs):($3) with dots title "sunce" lt rgb "#00cc00" \ ,"/dev/shm/data.kutija-t-h" using ($1+tz_secs):($3) with dots title "hlad" lt rgb "#0088cc" \ ,"/dev/shm/data.boiler-d" using ($1+tz_secs):($2 > 0 ? 50 : 0) axes x1y2 with dots title "boiler" lt rgb "#aaaaaa" @@ -114,8 +120,9 @@ plot \ ,"/dev/shm/data.ir-dht22-t-h" using ($1+tz_secs):($3) with lines title "ir" lt rgb "#884400" \ ,"/dev/shm/data.stol-dht11-t-h" using ($1+tz_secs):($3) with lines title "stol" lt rgb "#cc4400" \ ,"/dev/shm/data.kuhinja-t-h" using ($1+tz_secs):($3) with lines title "kuhinja" lt rgb "#ff8844" \ -,"/dev/shm/data.kupaona-t-h" using ($1+tz_secs):($3) with lines title "kupaona" lt rgb "#00ff80" \ +,"/dev/shm/data.kupaona-t-h" using ($1+tz_secs):($3) with lines title "kupaona" lt rgb "#000088" \ ,"/dev/shm/data.soba-t-h" using ($1+tz_secs):($3) with lines title "soba" lt rgb "#ffcc00" \ +,"/dev/shm/data.hodnik-t-h" using ($1+tz_secs):($3) with lines title "hodnik" lt rgb "#80ff80" \ ,"/dev/shm/data.vani-t-h" using ($1+tz_secs):($3) with lines title "sunce" lt rgb "#00cc00" \ ,"/dev/shm/data.kutija-t-h" using ($1+tz_secs):($3) with lines title "hlad" lt rgb "#0088cc" \ ,"/dev/shm/data.boiler-d" using ($1+tz_secs):($2 > 0 ? 50 : 0) axes x1y2 with dots title "boiler" lt rgb "#aaaaaa"