From a622a8159ac7e093ed0239d4de4502e393d332cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Sat, 15 Oct 2022 19:15:27 +0200 Subject: dodan gnuplot --- srv/rast.gnuplot | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 srv/rast.gnuplot (limited to 'srv/rast.gnuplot') 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; -- cgit v1.2.3