Add a line with cumulative rainfall data to a plot. The maximum value of the plot has to be passed. If the cumulative rainfall exceeds this maximum, it will start again at 0.
Usage
line_sumrain(xdata, cum_sum_rain, theMax, ...)
Arguments
xdata
Values ploted on the x axis, usually read with read.dates