[SciPy-user] unusual fitting problem

peter websdell flyingdeckchair@googlemail....
Wed Oct 1 03:59:46 CDT 2008

Thanks for the reply Pierre.

I may be misunderstanding you, but it seems to me that if I interpolate
between two values, the relationship will be linear. What I need is for it
to appear linear when plotted on a loglog scale.

I'm sure I'm not explaining this very well, owing to this not really being
my field, so I've attached an image of the kind of curve I'm attempting to

Please let me know if I'm just being a dunce.

Thanks again,

2008/9/30 Pierre GM <pgmdevlist@gmail.com>

> On Tuesday 30 September 2008 12:36:00 peter websdell wrote:
> > Howdy gang,
> > I have an unusual fitting problem that has me totally stumped.
> Have you thought about modifying your data ?
> you want log(y) = a + b*log(x) ?
> Use Y=log(y) and X=log(X), fit a straight-line the standard way and you
> should
> get your parameters a & b.
> That should be easier than trying to fit y=exp(a+b*log(x)) = exp(a) * x**b
> _______________________________________________
> SciPy-user mailing list
> SciPy-user@scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/scipy-user/attachments/20081001/dd14feaf/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: curve1.JPG
Type: image/jpeg
Size: 70310 bytes
Desc: not available
Url : http://projects.scipy.org/pipermail/scipy-user/attachments/20081001/dd14feaf/attachment-0001.jpe 

More information about the SciPy-user mailing list