diff --git a/wetter1.gp b/wetter1.gp index 18a952b..b221a32 100644 --- a/wetter1.gp +++ b/wetter1.gp @@ -1,8 +1,8 @@ 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" -set format x "%m:%d:%H" # otherwise it will show only MM:SS +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 ylabel "Temperatur °Celsius" @@ -16,5 +16,5 @@ 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' - -plot 'wetter.csv' using 1:2:5 title 'Temperatur' with yerrorbars linestyle 2 lc "red",'' using 1:3 with lines axis x1y2 title '0.1 mm/h', '' using 1:4 with lines axis x1y2 title '1.0 mm/h' +Shadecolor = "#80E0A080" +plot 'test1.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'