1,727
edits
PLOT ALL AverageTemp EVAL [ SUM(AverageTemp-5) ] colour green Axis DegreeDays
EndChart
===== STATS =====
[[File:Schermafbeelding 2021-05-21 154949.jpg|right|Rain with statistics and cumulation curve]]
The STATS plots a statistic in the chart. The normal PLOT of that variable must be present. STATS implies the ALL or DAILY range specification. RECENT PLOTS have no STATS (at the moment).
The following example shows the Rain for all days (all observations). In addition the yearly cumulative curve is shown and the moving average (SMA - Simple Moving Average). See image on the right.
CHART DailyRain TITLE Rain with statistics
PLOT ALL RainFall colour CornflowerBlue as column
PLOT ALL RainFall EVAL [ SUM( RainFall ) ] COLOUR crimson AXIS Free
STATS RainFall SMA colour green
EndChart OUTPUT Statistics.txt
== The Chart Axis ==
|