[SciPy-User] Points fitting (non lin)

Paolo Zaffino p.zaffino@yahoo...
Fri Dec 14 10:42:47 CST 2012

```Dear Paweł,
I try to explain better the issue.
I have these points (in this order):

P1 = (1,1)
P2 = (2,2)
P3 = (4,2)

P4 = (3,1)

I need to fit the points in the order P1,P2,P3,P4 even if the x coord of P3 is greater than P4.
I thought to quadratic piecewise curve but other solutions are welcome.

Thanks a lot.
Paolo

________________________________
Da: Paweł Kwaśniewski <pawel.kw@gmail.com>
A: Paolo Zaffino <p.zaffino@yahoo.it>; SciPy Users List <scipy-user@scipy.org>
Inviato: Venerdì 14 Dicembre 2012 17:25
Oggetto: Re: [SciPy-User] Points fitting (non lin)

Dear Paolo,

Is this what you are looking for?

Cheers,

Paweł

2012/12/14 Paolo Zaffino <p.zaffino@yahoo.it>

Dear Scipy community,
>
>
>I have a set of points (2D) and I would compute a curve that fits them.
>The points are ordered in a precise way (not crescent order) and I can't change this order (the curve should fit the points in that order).
>I'm interseting in a non linear fit (the ideal case would be more intervals of quadratic curves).
>
>
>Thank you very much.
>Regards.Paolo
>_______________________________________________
>SciPy-User mailing list
>SciPy-User@scipy.org
>http://mail.scipy.org/mailman/listinfo/scipy-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-user/attachments/20121214/df32ac8e/attachment-0001.html
```