summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xwetter5
1 files changed, 3 insertions, 2 deletions
diff --git a/wetter b/wetter
index d1a6bef..da13570 100755
--- a/wetter
+++ b/wetter
@@ -302,9 +302,10 @@ main() {
plot \
'/tmp/forecast-sunshine.tsv' using 1:3:1:2:(0):3 axes x1y2 with boxxyerror lc rgb "#FFFFAA" title 'Sunshine (minutes)', \
\
+ '/tmp/forecast-precipitation.tsv' using 1:(scale_precipitation(\$3)):1:2:(0):(scale_precipitation(\$3)) axes x1y2 with boxxyerror lc rgb "#A0C0D0" title 'Precipitation (mm)', \
+ \
'/tmp/forecast-temperatures.tsv' using 1:2:(column(2)) with linespoints lc palette title 'Min Temp', \
- '' using 1:3:(column(3)) with linespoints lc palette title 'Max Temp', \
- '/tmp/forecast-precipitation.tsv' using 1:(scale_precipitation(\$3)):1:2:(0):(scale_precipitation(\$3)) axes x1y2 with boxxyerror lc rgb "#A0C0D0" title 'Precipitation (mm)'
+ '' using 1:3:(column(3)) with linespoints lc palette title 'Max Temp'
EOF
return
cat<<\EOF