Hoi,

There is still MPL's polyfit function and I have to admit that Steve
Schmerler's solution looks better that mine, but I've pasted a quick &
dirty solution here:
http://www.python-forum.de/topic-8363.html
It shows the use of polyfit as well as (almost) Steve's approach.

Further examples on linear regression and polynomal regression can be
found in http://matplotlib.sourceforge.net/users_guide_0.90.0.pdf

Also, you might want to have a closer look on the scipy web page:
http://www.scipy.org/ .

Cheers
Christian

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to