summaryrefslogtreecommitdiffstats
path: root/srv/rast.gnuplot
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2022-10-15 19:15:27 +0200
committerAnton Luka Šijanec <anton@sijanec.eu>2022-10-15 19:15:27 +0200
commita622a8159ac7e093ed0239d4de4502e393d332cc (patch)
tree4f2087567fcbbb6e80b51d4173579173b2765f31 /srv/rast.gnuplot
parentreports 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-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;