diff options
author | Anton Luka Šijanec <anton@sijanec.eu> | 2022-10-15 19:15:27 +0200 |
---|---|---|
committer | Anton Luka Šijanec <anton@sijanec.eu> | 2022-10-15 19:15:27 +0200 |
commit | a622a8159ac7e093ed0239d4de4502e393d332cc (patch) | |
tree | 4f2087567fcbbb6e80b51d4173579173b2765f31 /srv/rast.gnuplot | |
parent | reports us (diff) | |
download | števec-a622a8159ac7e093ed0239d4de4502e393d332cc.tar števec-a622a8159ac7e093ed0239d4de4502e393d332cc.tar.gz števec-a622a8159ac7e093ed0239d4de4502e393d332cc.tar.bz2 števec-a622a8159ac7e093ed0239d4de4502e393d332cc.tar.lz števec-a622a8159ac7e093ed0239d4de4502e393d332cc.tar.xz števec-a622a8159ac7e093ed0239d4de4502e393d332cc.tar.zst števec-a622a8159ac7e093ed0239d4de4502e393d332cc.zip |
Diffstat (limited to 'srv/rast.gnuplot')
-rwxr-xr-x | srv/rast.gnuplot | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/srv/rast.gnuplot b/srv/rast.gnuplot new file mode 100755 index 0000000..5cc0277 --- /dev/null +++ b/srv/rast.gnuplot @@ -0,0 +1,17 @@ +#!/usr/bin/gnuplot +set term pngcairo +set output 'rast.png' +f = '%H:%M %d. %m.' +set xlabel 'Čas v UTC ['.f.']' +set ylabel 'Wh' +set xdata time +set timefmt '%s' +set format x f +set grid +set mxtics +set mytics +set terminal png size 1337,420 +set tmargin 3 +set rmargin 5 +set title 'enosmerni števec porabe elektrike landis+gyr' +plot "rast.tsv" using 1:2 title 'Wh' with linespoints pointtype 7; |