Re: [Matplotlib-users] Fitting a curve

2007-08-31 Thread Christian Meesters
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

[Matplotlib-users] Fitting a curve

2007-08-30 Thread Wolfgang Kerzendorf
I know this is not completely matplotlib related but perhaps you can help me none the less: I want to fit a curve to a set of data. It's a very easy curve: y=ax+b. But I want errors for a and b and not only the rms. Is that possible. What tasks do you recommend for doing that. Thanks in advance