Re: [Matplotlib-users] closest neighbour?

2009-03-10 Thread Marjolaine Rouault
Hi Jeff, Yes, I think this is what I needed. Many thanks. Marjolaine. Jeff Whitaker jsw...@fastmail.fm 03/09/09 5:21 PM Marjolaine Rouault wrote: Hi, I am trying to extract a a line (or transect) of data across a 2 dimensional array. I want to know what the best way of finding data

[Matplotlib-users] closest neighbour?

2009-03-09 Thread Marjolaine Rouault
Hi, I am trying to extract a a line (or transect) of data across a 2 dimensional array. I want to know what the best way of finding data points within my 2D dataset closest to each point on my line. Is there a matplotlib pre-defined function to find the closest point within a radius or must

Re: [Matplotlib-users] closest neighbour?

2009-03-09 Thread Jeff Whitaker
Marjolaine Rouault wrote: Hi, I am trying to extract a a line (or transect) of data across a 2 dimensional array. I want to know what the best way of finding data points within my 2D dataset closest to each point on my line. Is there a matplotlib pre-defined function to find the closest