MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: can't get ListVectorPlot3D to work.

  • To: mathgroup at smc.vnet.net
  • Subject: [mg107537] Re: [mg107506] can't get ListVectorPlot3D to work.
  • From: "David Park" <djmpark at comcast.net>
  • Date: Tue, 16 Feb 2010 03:53:21 -0500 (EST)
  • References: <15703940.1266231913393.JavaMail.root@n11>

Rob,

It looks to me that the Help for ListVectorPlot3D is deceptive at best in
the second usage. It appears that there must be a regular array and those
are the only examples that are shown.

However, you could do the following:

drawVector[{point_, vector_}] := Arrow[{point, point + vector}]
Graphics3D[
 {Blue,
  drawVector /@ pts},
 Axes -> True,
 ImageSize -> 350] 


David Park
djmpark at comcast.net
http://home.comcast.net/~djmpark/  



From: 1.156 [mailto:rob at piovere.com] 

*********
HELP states: ListVectorPlot3D[{{ {x1,y1,z1},{vx1,vy1,vz1}}, ...}]
generates 3D vector plot from vector field values {vxi,vyi,vzi} given at
specified points {xi,yi,zi}.

But, I get nothing but an empty box when trying this:

pts={   {{3., 0, 0}, {-2.15667, 3.39688, 4.02369}},
{{0.843326, 3.39688, 4.02369}, {-4.19657, -2.394, 4.8314}},
{{-3.35324, 1.00288, 8.85509}, {2.19306, -4.30499, 4.8314}},
{{-1.16019, -3.30212, 13.6865}, {4.4038, 1.98721, 4.8314}},
{{3.24361, -1.31491, 18.5179}, {-1.77692, 4.49277, 4.8314}}   }

ListVectorPlot3D[pts]

I've spent hours trying various options and have never seen a plot yet.
(VectorPoints->All seemed most promising but got nowhere.)
Surely I'm misinterpreting something --can someone please enlighten me 
as to what? Using V7 on XP.

Thanks, Rob





  • Prev by Date: Re: Create and use a set of values for variables
  • Next by Date: Re: Create and use a set of values for variables
  • Previous by thread: Re: Re: can't get ListVectorPlot3D to work.
  • Next by thread: Re: can't get ListVectorPlot3D to work.