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/seštevek.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 '')
-rwxr-xr-x | srv/seštevek.gnuplot | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/srv/seštevek.gnuplot b/srv/seštevek.gnuplot new file mode 100755 index 0000000..21b92bc --- /dev/null +++ b/srv/seštevek.gnuplot @@ -0,0 +1,17 @@ +#!/usr/bin/gnuplot +set term pngcairo +set output 'seštevek.png' +f = '%H:%M %d. %m.' +set xlabel 'Čas v UTC ['.f.']' +set ylabel sprintf('Wh/%ss', ARG1) +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 sprintf('enosmerni števec porabe elektrike landis+gyr :: odvod (moč) - poraba Wh v %s sekundah', ARG1) +plot "seštevek.tsv" using 1:2 title sprintf('Wh/%ss', ARG1) with linespoints pointtype 7; |