Re: [Matplotlib-users] Fit with Chebyshev Polynomials

2011-12-14 Thread Fabien Lafont
Thx Seb! 2011/12/14 Benjamin Root : > > > On Wednesday, December 14, 2011, Fabien Lafont > wrote: >> I have a basic problem (I think) >> >> I try to fit some data with this function >> >> http://docs.scipy.org/doc/numpy/reference/generated/numpy.polynomial.Chebyshev.fit.html >> >> But it return a

Re: [Matplotlib-users] Fit with Chebyshev Polynomials

2011-12-14 Thread Benjamin Root
On Wednesday, December 14, 2011, Fabien Lafont wrote: > I have a basic problem (I think) > > I try to fit some data with this function > http://docs.scipy.org/doc/numpy/reference/generated/numpy.polynomial.Chebyshev.fit.html > > But it return an error: > > fit = chebyshev.fit(T,R,3) > NameError: n

[Matplotlib-users] Fit with Chebyshev Polynomials

2011-12-14 Thread Fabien Lafont
I have a basic problem (I think) I try to fit some data with this function http://docs.scipy.org/doc/numpy/reference/generated/numpy.polynomial.Chebyshev.fit.html But it return an error: fit = chebyshev.fit(T,R,3) NameError: name 'chebyshev' is not defined I don't understand I've imported Numpy