Trace: » r005 » r004

Feature Modification Request

Synopsis

Add support for trendlines using linear regression, fx A Tutorial on Linear Regression

Resolution

Due to PEAR not having a linear regression library such a method will be added to the library.

The solution will be to add another plot (based on the dataset to perform the regression on) that will simply plot a line based on the slope and intersection from the regression.

Actual Implementation

Added calculateLinearRegression() to Image_Graph_Tool that returns the slope and intersection. Added Image_Graph_Plot_Fit_Line to plot the best line fit.

Key Data

Key Text
ID R004
Link http://forum.veggerby.dk/comments.php?DiscussionID=511
Component Image_Graph_Plot_Fit_Line
Status Completed
Progress 100%
Responsible nosey
Date added 2005-Sep-03
Date completed 2005-Sep-14
Release 0.7.0

 
fmr/r004.txt · Last modified: 2006/02/22 18:19