summaryrefslogblamecommitdiffstats
path: root/srv/seštevek.gnuplot
blob: 21b92bc8b3714b9ce2b9f3cae492fa99965b7b62 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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;