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

Home » Public Forums » archive » plotting a vector field 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 a vector field in 3d [message #85008 is a reply to message #85006] Fri, 21 June 2013 09:34 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Michael Galloy writes:

> Check out this post:
>
> http://michaelgalloy.com/2008/03/19/overview-of-flow-visuali zation-in-idl.html

I agree the Flow3 example in the documentation sucks (sigh...), but it's
pretty easy to put axes around the flow:

vx = RANDOMU(seed, 5, 5, 5)
vy = RANDOMU(seed, 5, 5, 5)
vz = RANDOMU(seed, 5, 5, 5)

; Set up the 3D scaling system:
cgSurf, dist(30), xr=[-1,5], yr=[-1,5], zr = [-1,5], $
/nodata, xst=1, yst=1

; Plot the vector field:
!P.Color=cgColor('black')
FLOW3, vx, vy, vz

Now that I look at it, Flow3 sucks, too. :-)

There is probably a good Ph.D. thesis in here for someone who wants to
develop some useable software.

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Smoothing image by regression in IDL
Next Topic: Random-access of List() progressively slower for static list

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

Current Time: Wed Oct 08 15:27:59 PDT 2025

Total time taken to generate the page: 0.00450 seconds