Re: [Matplotlib-users] find the projected distance between two curves

2009-02-20 Thread G. Allegri
Hi Andrew. With dist(point_i,polynomial_curve) do you mean point_i belonging to the Line 2 set of points and pol_curve as Line 1? In this case it could be reasonably ok for me. How can I derive the closed form for dist()? Excuse my ignorance with geometry

Re: [Matplotlib-users] find the projected distance between two curves

2009-02-20 Thread Andrew Straw
G. Allegri wrote: Hi Andrew. With dist(point_i,polynomial_curve) do you mean point_i belonging to the Line 2 set of points and pol_curve as Line 1? yes In this case it could be reasonably ok for me. How can I derive the closed form for dist()? Excuse my ignorance with geometry Take

Re: [Matplotlib-users] find the projected distance between two curves

2009-02-20 Thread G. Allegri
Thanks Andrew, conceptually it's clear. Now I have to code it :) I will have a look to SimPy, and also to SciPy/NumPy I will let you know how it's going on. 2009/2/20 Andrew Straw straw...@astraw.com: G. Allegri wrote: Hi Andrew. With dist(point_i,polynomial_curve) do you mean point_i

[Matplotlib-users] find the projected distance between two curves

2009-02-19 Thread G. Allegri
Hello list, I'm completely new to matplotlib and I'm not a computer scientist (not a good starting point!) but I need to solve a geometric/graphical problem. I've been asked to find a method, in Python, to find the distance between a 2D polynomial curve, derived from least squares interpolation on

Re: [Matplotlib-users] find the projected distance between two curves

2009-02-19 Thread Andrew Straw
G. Allegri wrote: Hello list, I'm completely new to matplotlib and I'm not a computer scientist (not a good starting point!) but I need to solve a geometric/graphical problem. I've been asked to find a method, in Python, to find the distance between a 2D polynomial curve, derived from least