Messdaten, Dateiname hier: "solar.mes"
Code
2015.11.01 19:12:47 12.7 00.2 15.0 00.2 
2015.11.01 19:12:58 12.6 00.0 12.1 00.2 
2015.11.01 19:13:09 12.8 00.0 12.1 00.2 
2015.11.01 19:24:25 12.6 00.0 05.1 00.2 
2015.11.01 19:24:36 12.7 00.0 05.1 00.0 
2015.11.01 19:35:51 12.7 00.0 04.9 00.0 
als Beispiel, um die Formatierung zu zeigen

Steuerdatei
Code
# Kommentar
 set title "Ladekurven"
 set xlabel "Uhrzeit (MEZ)" font "courier"
 set ylabel "Batteriespannung (V)" font "courier"
 set y2label "Ladestrom (A)" font "courier"
 set xtics rotate font "courier" font "courier"
 set ytics nomirror font "courier" font "courier"
 set mytics
 set y2tics
 set my2tics
 set nologscale x
 set xdata time
 set format x "%H"
 set timefmt "%H:%M:%S"
 set grid
 set border
 set key inside right top

 set term png
 set out "solar.png"
 plot "solar.mes" using 2:3 title 'Spannung' with lines,\
 "solar.mes" using 2:4 title 'Strom' axis x1y2 with lines

 set ylabel "Solarspannung (V)"
 set y2label "Solarstrom (A)"
 set out "solar2.png"
 plot "solar.mes" using 2:5 title 'Spannung' with lines,\
 "solar.mes" using 2:6 title 'Strom' axis x1y2 with lines

Key korrigiert

Zuletzt bearbeitet von BAlb; 16/11/2015 20:27. Grund: Key