Login   Register  
PHP Classes
elePHPant
Icontem

Least Squares Fit: Plot graph with lines defined by least square fit

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

  Author Author  
Picture of Sally Evans
Name: Sally Evans <contact>
Classes: 1 package by
Country: United Kingdom United Kingdom
Age: ???
All time rank: 188280 in United Kingdom United Kingdom
Week rank: 1782 Up71 in United Kingdom United Kingdom Up
Innovation award
Innovation award
Nominee: 1x


  Detailed description   Download 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 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: 1233 users
All time rank: 2853
Week users: 0 users
Week rank: 1486 Equal
 
  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  
Screenshot.jpg
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 package  
No pages of applications that use this class were specified.
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 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.