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

Home » Public Forums » archive » Re: Positions in 3-d
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: Positions in 3-d [message #43805 is a reply to message #43802] Mon, 02 May 2005 09:05 Go to previous messageGo to previous message
panblosky is currently offline  panblosky
Messages: 17
Registered: May 2005
Junior Member
Thanks for your help Ken. It didn't occur to me to use histogram...
But now I have another question: using histogram (and
reverse_indices) tells me in which bin the x (or y or z) coordinate
would be (and how many x-points are in the bin), but how do I know
where the point (x,y,z) lies? I mean, if my cube goes from 0 to 1, and
I have 4 bins (it could be more) in each dimension (so I would have 64
sub-cubes in 3-D), how can I tell, in a fast way, in which sub-cube
does the point (x,y,z) lies and how many points are in that sub-cube?
Maybe there is an easy answer, but I haven't been able to do it...
Thanks,

Pablo
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Data Structure in IDL
Next Topic: Re: Looping over parameters without EXECUTE()

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

Current Time: Wed Oct 08 14:56:22 PDT 2025

Total time taken to generate the page: 0.00436 seconds