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

Home » Public Forums » archive » Re: Is there a simple way to plot field lines?
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: Is there a simple way to plot field lines? [message #35401 is a reply to message #35400] Wed, 28 May 2003 13:36 Go to previous messageGo to previous message
so is currently offline  so
Messages: 9
Registered: August 2000
Junior Member
David Fanning <david@dfanning.com> wrote in message news:<MPG.193e67c621b7edc6989bb4@news.frii.com>...
> Steve (so@cp.dias.ie) writes:
>
>> Ouch. Well I guess I should have been more explicit to. I mean field
>> lines which are everywhere tangent to a vector field (2d is fine
>> thanks), also known as streamlines for velocity fields. I don't want
>> arrows anywhere. Or cows.
>
> Oh, well then. STREAMLINE might do the trick. :-)
>
> Cheers,
>
> David

There is a script called streamline.pro on
http://www.metvis.com.au/graphics.html with nice examples of its
output. It uses particle_trace and by commenting out the arrow
commands and judiciously tweaking the number of seedpoints, step size,
and max iterations it produces perfectly acceptable field line plots.

I am plotting dipole fields which look a bit iron-filing like I guess
because of the 1/r3 dependence but I am guessing if the seed points
were chosen over a central sphere with uniform angular separation it
would be smoother.

Hope this helps somebody else sometime.

Cheers, Stephen
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: SOLVED. Re: Function referencing/automatic defintion question.
Next Topic: Re: SOLVED. Re: Function referencing/automatic defintion question.

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

Current Time: Wed Oct 08 16:52:40 PDT 2025

Total time taken to generate the page: 0.00376 seconds