From: Christian Meesters <meesters@un...>  20070831 07:29:12

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.pythonforum.de/topic8363.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 