Prev: PolarPlot in dB
Next: Question about Plot[] algorythm.
From: 1.156 on 15 Feb 2010 05:46 ********* 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
From: David Park on 16 Feb 2010 03:52 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(a)comcast.net http://home.comcast.net/~djmpark/ From: 1.156 [mailto:rob(a)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
From: bsyehuda on 16 Feb 2010 06:11 The way you try to do it does not conform with the documentation. ListVectorPlot3D expect either 1. a rectangular array of height values 2. A list. The element of the list are TWO lists, in which the first is point and the second is the vector (of the field) at that point so, unless you meet with one of the requirements you cannot do it yehuda On Mon, Feb 15, 2010 at 12:46 PM, 1.156 <rob(a)piovere.com> wrote: > ********* > 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 > > >
From: DrMajorBob on 17 Feb 2010 06:56 The OP's example DOES fit the second description, and Help is just wrong. Bobby On Tue, 16 Feb 2010 05:11:20 -0600, <bsyehuda(a)gmail.com> wrote: > The way you try to do it does not conform with the documentation. > ListVectorPlot3D expect either > 1. a rectangular array of height values > 2. A list. The element of the list are TWO lists, in which the first is > point and the second is the vector (of the field) at that point > > so, unless you meet with one of the requirements you cannot do it > > yehuda > > On Mon, Feb 15, 2010 at 12:46 PM, 1.156 <rob(a)piovere.com> wrote: > >> ********* >> 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 >> >> >> -- DrMajorBob(a)yahoo.com
From: bsyehuda on 17 Feb 2010 06:57 Yes it seems so. Being in a hurry is not a good time to look at the fine details :) On Tue, Feb 16, 2010 at 10:57 PM, DrMajorBob <btreat1(a)austin.rr.com> wrote: > The OP's example DOES fit the second description, and Help is just wrong. > > Bobby > > > On Tue, 16 Feb 2010 05:11:20 -0600, <bsyehuda(a)gmail.com> wrote: > > The way you try to do it does not conform with the documentation. >> ListVectorPlot3D expect either >> 1. a rectangular array of height values >> 2. A list. The element of the list are TWO lists, in which the first is >> point and the second is the vector (of the field) at that point >> >> so, unless you meet with one of the requirements you cannot do it >> >> yehuda >> >> On Mon, Feb 15, 2010 at 12:46 PM, 1.156 <rob(a)piovere.com> wrote: >> >> ********* >>> 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 >>> >>> >>> >>> > > -- > DrMajorBob(a)yahoo.com >
|
Pages: 1 Prev: PolarPlot in dB Next: Question about Plot[] algorythm. |