summaryrefslogtreecommitdiffstats
path: root/srv/seštevek.gnuplot
diff options
context:
space:
mode:
Diffstat (limited to 'srv/seštevek.gnuplot')
-rwxr-xr-xsrv/seštevek.gnuplot17
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;