Login   Register  
PHP Classes
elePHPant
Icontem

Least Squares Fit

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Sally Evans
Name: Sally Evans <e-mail contact>
Packages: 1 Browse all classes by Sally Evans Browse all classes by
Country: United Kingdom United Kingdom - PHP jobs in United Kingdom
Age: ???
All time rank: 181980 in United Kingdom United Kingdom
Week rank: 1446 Up60 in United Kingdom United Kingdom Up
Innovation award
Innovation award
Nominee: 1x


  Detailed description   Download .zip .tar.gz  
This class can be used to plot graphs with lines defined by the least square fit algorithm.

It takes the coordinates of a set of points and draws lines that minimize the distance to the points using the least square fit algorithm.

The generated graph is saved to a file in PNG format.

  Classes of Sally Evans  >  Least Squares Fit  >  Download .zip .tar.gz  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Least Squares Fit
Base name: linefit
Description: Plot graph with lines defined by least square fit
Version: 1
PHP version: 4
License: GNU General Public License (GPL)
All time users: 1191 users
All time rank: 2792
Week users: 1 user
Week rank: 2071 Up
 
  Groups   Screenshots Screenshots   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image Algorithms Numerical and statistical algorithms View top rated classes
Group folder image Graphics Colors, images, charts and picture formats View top rated classes
Group folder image Math Math related classes. View top rated classes

  Files folder image Screenshots  
Screeenshot
File Role Description
Accessible without login Image file Screenshot.jpg Screen Screeenshot


  Innovation Award  
PHP Programming Innovation award nominee
October 2007
Number 6

Prize: One copy of VS.PHP
Least squares fit is an algorithm for calculating the coordinates of a straight line that is located at a minimal distance to a set of points.

It is often used to draw scientific graphs of points that are expected to be aligned according to a linear equation.

This class can compute the coordinates and render a line that represents the least squares fit line for a given set of points.

Manuel Lemos

  User ratings  
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Accessible without login Plain text file Lingraph.php Example Example
Accessible without login Plain text file Line-graph.php Doc. Webpage
Accessible without login Image file plot.png Output Picture
Accessible without login Plain text file testdata.csv Data Data for Line-graph.php
Plain text file ymxc.class Class Class

Download all files: linefit.tar.gz linefit.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.