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

Home » Public Forums » archive » Re: Plotting streamlines in 3D
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: Plotting streamlines in 3D [message #42397 is a reply to message #42396] Tue, 25 January 2005 07:12 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
mark.t.douglas@gmail.com writes:

> I can plot streamlines (well, magnetic field lines, but anyway) in 2D
> easily enough but getting them to plot in 3D is a task that is filling
> me with a terrible rage - I just can't get it working! plots() doesn't
> seem suited to the task and I really can't figure out how streamline()
> or particle_trace() or anything like that works. I tried googling for
> help but all I got were 404s because it seems the last time anyone
> tried plotting streamlines in 3d and getting stuck doing so was in
> 2001.
>
> Anyone able to help? The field is analytic so I can get the field at
> any point easily enough (field(x,y,z) returns a three-element vector)
> and I can trace the field lines starting from any point too
> (trace(x,y,z,ds) returns a 3xN array consisting of the x,y and z coords
> of the nth point along it, with a stepsize ds) but plotting them in 3D
> is driving me mad!

I find the documentation for PARTICLE_TRACE and STREAMLINE
a bit dense, too. But I presume you know these two routines
work together (PARTICLE_TRACE preparing input for STREAMLINE),
and that the result needs to be rendered (probably, or I can
understand your frustration) in an object graphics program.

Is this the latter what you are frustrated with?

A few more details of what you have actually tried would
help. :-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Plotting streamlines in 3D
Next Topic: IDLWAVE model on Linux

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

Current Time: Sun Oct 12 04:50:21 PDT 2025

Total time taken to generate the page: 0.48071 seconds