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

Home » Public Forums » archive » find a plane in a 3D plot
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
find a plane in a 3D plot [message #62500] Fri, 12 September 2008 02:54 Go to next message
Nicola is currently offline  Nicola
Messages: 21
Registered: November 2005
Junior Member
Dear folks,
I'm facing a problem which I do not have any idea how to solve.
Imagine that you have a 3 dimensional field as a function of time, say
the three component of a magnetic field for example. They are stored
in a fltarr(nsample,3).
If plotted in a 3D box (by using for example plot_3dbox) they describe
a closed orbit. I do know that they actually describe an ellipse (or
something similar considering the fact that we are dealing with
experimental data which not always correspond to theory!) and that
this ellipse (or closed path) lies on a plane which have a certain
inclination with respect to the three magnetic axis. I have to find a
way to identify this plane and the direction perpendicular to this
plane in the more accurate way as possible.
Do you have any idea how to proceed? Any suggestion will be very very
appreciated
Thank you very much
nicola
Re: find a plane in a 3D plot [message #62576 is a reply to message #62500] Mon, 22 September 2008 07:33 Go to previous message
Wox is currently offline  Wox
Messages: 184
Registered: August 2006
Senior Member
On Mon, 22 Sep 2008 11:15:45 +0200, Wox <nomail@hotmail.com> wrote:

> 3. Find all intersections between the box-lines and the plane:
> t = [n.(p0-p1)]/[n.(p2-p1)]
> => (numerator eq 0) AND (denominator eq 0) =>line in plane => t=1

It should be t=0 AND t=1 (i.e. two intersection points for this line)
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: find a plane in a 3D plot
Next Topic: Re: New update for IDL on Macintosh computers is now available

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

Current Time: Wed Oct 08 15:39:18 PDT 2025

Total time taken to generate the page: 0.00584 seconds