#!/usr/local/bin/gnuplot -persist set format x "%d.%m." timedate set title ARG1 noenh set timestamp bottom set xlabel "time" set ylabel "V, T" set y2label "p" set y2tics set ytics nomirror set locale "de_DE.UTF-8" fn=ARG1 plot fn u 7:5 axis x1y2 tit "p [mbar]" w l, \ "" u 7:2 axis x1y1 tit "T_{INT} [°C]" w l, \ "" u 7:3 axis x1y1 tit "T_{EXT} [°C]" w l, \ "" u 7:6 axis x1y1 tit "V_{BAT} [V]" w l # "" u (timecolumn(7,"%Y-%m-%dT%H:%M:%SZ")):11 axis x1y1 tit "A [?]" w l, \