[rrd-users] Re: How to implement a 'line of best fit' over graphs

Serge Maandag serge.maandag at staff.zeelandnet.nl
Mon Nov 21 16:00:13 MET 2005

> Any idea on how would you implement a 'line of best fit' over 
> your graph?
> Would you just look at an average of all rrd.archives per 
> graph? Then graph that value?

A line of best fit is more for finite data sets as in scatter graphs.
Rrd archives go on forever, but taking the graphed timespan as a 
finite dataset could do.

Drawing a true sloping line of best fit would take a lot of programming.
I wouldn't dare to program the logic in CDEF rpn language. But I'm not
a mathematician. 

Drawing just the average seems a bit crude to me. I'd at least add the 
standard deviation to it. I have some graphs that do just that, but I 
store the standard deviation in the rrd database the moment I put the 
data in the database.


Op de inhoud van dit e-mailbericht en de daaraan gehechte bijlagen is de inhoud van de volgende disclaimer van toepassing: http://www.zeelandnet.nl/disclaimer.php

For the content of this e-mail message and its attachment(s) the following disclaimer applies: http://www.zeelandnet.nl/disclaimer.php

Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi

More information about the rrd-users mailing list