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

Home » Public Forums » archive » Displaying 3-D vector fields
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: Displaying 3-D vector fields [message #32846 is a reply to message #32726] Wed, 13 November 2002 09:20 Go to previous messageGo to previous message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
"Jim" <jim.blackwell@gsfc.nasa.gov> wrote
>
> forgive me for being such a doofus, but shouldn't the mag and loc
> arrays be 3-D ?

You tell me... Well I guess you just did. The 3rd dimension is time, I
presume. That doesn't change anything except how you subscript your data.

Say you have 100 samples from 100 data points. Your array will be in a form
similar to [point,sample,values] or [100,100,3] where the last dimension is
your x,y,z or u,v,w depending on if we're talking about your location array
or magnitude array. Is that correct?

In my example, I assumed 1 sample from 100 points [100,1,3] which I
simplified to [100,3]. You can change the subscripts in the example to work
with your data set. [n,*] would become something like [n,0,*] for your
first sample, [n,1,*] for your second and so on.



> Would it be as simple as just adding this code to the
> existing code set for creating the vector object ?

I don't understand what you are asking. But if you are asking if you should
add this code to the vector object. No. Stick with my example.

-Rick
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: use of 'obj_new' within another object definition
Next Topic: IdlGrPolygon - Intersection with planes and lines

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

Current Time: Fri Oct 10 16:11:15 PDT 2025

Total time taken to generate the page: 0.31972 seconds