comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Uneven Set of x y coordinates
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Uneven Set of x y coordinates [message #56017 is a reply to message #56015] Wed, 26 September 2007 06:05 Go to previous message
henrygroe is currently offline  henrygroe
Messages: 30
Registered: August 2003
Member
On Sep 25, 2:12 pm, "rpert...@gmail.com" <rpert...@gmail.com> wrote:
> Here is my problem:
> I have 2 sets of x,y coordinates:
>
> (20,3) (23,3)
> (50,3) (55,3)
> (70,3) (74,4)
> (110,3) (155,3)
> (150,4) (166,3)
> etc etc
> etc etc
> etc etc
>
> It is easy to see the first three x,y positions correspond (it is
> known these are close together, and also known that 2nd set is more to
> the right than 1st set, i.e. x2>x1)
>
> The fourth x,y inf first set however does not correspond to the 4th in
> 2nd set, in fact it is a surplus.
>
> I am therefore starting with my shortest array of coordinates and
> trying to match it with the appropriate coordinates in the long array
> discarding the excess points.
>
> So far I have used for, if and while loops...and I am able to identify
> which goes with which, but not able to reach the end of my goal: have
> identical size arrays of coordinates (smallest) with matching
> points...
>
> HELP!
> Thanks,
> RP

Sounds like a good time to read up on histograms, in particular
J.D. Smith's hist_nd.pro.

Tutorial:
http://www.dfanning.com/tips/histogram_tutorial.html

hist_nd.pro:
http://www.dfanning.com/programs/hist_nd.pro

cheers,
-Henry

p.s. David, what *would* we do without your web site???
[Message index]
 
Read Message
Read Message
Previous Topic: Order of argument evaluation (Was: Re: making a checkerboard array?)
Next Topic: 2D array replicated into 3D array plane by plane

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 00:55:34 PDT 2025

Total time taken to generate the page: 0.64121 seconds