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