Hello,

Numpy is capable of simple fitting of polynomials, see for a  
definition and an example:
http://docs.scipy.org/doc/numpy/reference/generated/numpy.polyfit.html

Alternatively, there is an entry in the SciPy Cookbook: http:// 
www.scipy.org/Cookbook/FittingData

Regards,

Pierre

Le 30 déc. 09 à 12:07, Manuel Wittchen a écrit :

> Hi,
>
> I want to do a linear regression with my Data but couldn't find a
> ready-to-use matplotlib- or numpy-function. If there is no function
> for linear regression in matplotlib/numpy, could somebody explain to
> me how to code lin. reg. as a function?
>
> Regards,
>
> Manuel Wittchen


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to