25 lines
1.0 KiB
XML
25 lines
1.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<plot>
|
|
<title>Temperatur (℃)</title>
|
|
<yrange>-20, 50</yrange>
|
|
<grid>ytics</grid>
|
|
<source>monthly</source>
|
|
<subplot>
|
|
<!-- Candlesticks plot with whiskerbars, line width: 2, whiskerbar width: 50% -->
|
|
<style>candlesticksw 2 0.5</style>
|
|
<colour>rgb "#f44336"</colour>
|
|
<xcalc>data['start'] + timedelta(days=15)</xcalc>
|
|
<!-- 4 values as tuple in that order: NightAvg, NightMin, DayMax, DayAvg -->
|
|
<ycalc>(data['temp_out_min_ave'], data['temp_out_min_lo'], data['temp_out_max_hi'], data['temp_out_max_ave'])</ycalc>
|
|
</subplot>
|
|
<subplot>
|
|
<!-- This is the median line as per gnuplot documentation -->
|
|
<style>candlesticks 1.5</style>
|
|
<colour>rgb "#607d8b"</colour>
|
|
<xcalc>data['start'] + timedelta(days=15)</xcalc>
|
|
<!-- 4 times the same value as we don't want a bar but only a line -->
|
|
<ycalc>(data['temp_out_ave'], data['temp_out_ave'], data['temp_out_ave'], data['temp_out_ave'])</ycalc>
|
|
</subplot>
|
|
</plot>
|
|
|