Skripte an die geänderte API angepasst.

This commit is contained in:
dewomser 2023-07-02 21:47:35 +02:00
parent b924f8565a
commit f100bc9a05
No known key found for this signature in database
GPG key ID: 3A312467A034D190
6 changed files with 29 additions and 73 deletions

View file

@ -1,16 +1,11 @@
#set title "Wettervorhersage für Worms. Erstellt: " .strftime("%d.%b %Y %H:%M", time(0)+7200)
set title "Wettervorhersage für Worms. Erstellt: " .strftime("%d.%b %Y %H:%M", time(0)+7200)
set datafile separator ','
set xdata time
#set timefmt "%Y-%m-%dT%H:%M"
set timefmt "%Y-%m-%dT%H:%M:%SZ"
set title "Wettervorhersage für Worms. Erstellt: `date`"
set timefmt "%Y-%m-%dT%H:%M"
set format x "%d.%b %H:%M" # otherwise it will show only MM:SS
set key autotitle columnhead
#set xlabel 'Zeitachse UTC'
set ylabel "Temperatur °Celsius"
set xlabel 'Zeitachse MEZ/MESZ'
set xlabel 'Zeitachse UTC'
set xtics rotate
set y2range[0:100]
set y2tics # enable second axis
@ -18,6 +13,7 @@ set ytics nomirror # dont show the tics on that side
set y2label "Regenwahrscheinlichkeit in %" # label for second axis
#set terminal wxt size 800,600 enhanced font 'Verdana,10' persist
set terminal pngcairo size 800,600 enhanced font 'Verdana,10'
set output 'wetter1.png'
set output 'wetter2.png'
Shadecolor = "#80E0A080"
plot 'wetter.csv' using 1:($2+$5):($2-$5) with filledcurve fc rgb Shadecolor title "Absoluter Temperaturfehler",'' using 1:2 title 'Temperatur in 2 Meter Höhe' with lines lc "red",'' using 1:3 with lines axis x1y2 title 'Regen 0.1 mm/h', '' using 1:4 with lines axis x1y2 title 'Regen 1.0 mm/h'
plot 'wetter.csv' using 1:($2+$8):($2-$8) with filledcurve fc rgb Shadecolor title "Absoluter Temperaturfehler",''using 1:2 title 'Temperatur in 2 Meter Höhe' with lines lc "red",'' using 1:4 with lines axis x1y2 title 'Regen 0.1 mm/h','' using 1:6 with lines axis x1y2 title 'Regen 1.0 mm/h'