From 3d398ec8ab865d2ff67556fa98b281a67eae9e70 Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 4 Aug 2026 20:24:29 +0200 Subject: move rain chart behind temperature --- wetter | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/wetter b/wetter index d1a6bef..da13570 100755 --- a/wetter +++ b/wetter @@ -301,10 +301,11 @@ main() { # 00CED1 DarkTurquoise 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 -- cgit v1.3.1