Re: ListVectorPlot3D

• To: mathgroup at smc.vnet.net
• Subject: [mg130961] Re: ListVectorPlot3D
• From: "djmpark" <djmpark at comcast.net>
• Date: Wed, 29 May 2013 03:57:50 -0400 (EDT)
• Delivered-to: l-mathgroup@mail-archive0.wolfram.com
• Delivered-to: l-mathgroup@wolfram.com
• Delivered-to: mathgroup-outx@smc.vnet.net
• Delivered-to: mathgroup-newsendx@smc.vnet.net
• References: <3834717.1727.1369729384251.JavaMail.root@m06>

```Often the ListPlots are not the best approach. A more general and intuitive
method is just to Map the graphics primitive (Point, Arrow, Line, whatever)
onto the list of points defining it. In your example the plot gets too
cluttered so I selected a random sample of 20 vectors from your test2 list.
And I also reversed the direction of the Arrows because it looks nicer.

Arrow /@ Reverse /@ RandomSample[test2, 20]},
Axes -> True]

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

From: BBabic [mailto:bipsich101 at gmail.com]

Hello, I am using Mathematica 9.
Not sure why, but it seems that Math can not plot non-equidistant set of 3D
vectors.
Here is an example.
We create two set of vector field data:

Equidistant
test = Flatten[
Table[{{x, y, z}, RandomReal[{-10, 10}, 3]}, {x, -40000, 40000,
5000}, {y, -40000, 40000, 5000}, {z, -40000, 40000, 5000}], 2];

random
test2 = Flatten[
Table[{RandomReal[{-40000, 40000}, 3],
RandomReal[{-10, 10}, 3]}, {x, -40000, 40000, 5000}, {y, -40000,
40000, 5000}, {z, -10000, 10000, 2000}], 2];

While ListVectorPlot3D[test]
works.
The ListVectorPlot3D[test2] just gives a Box without any error message.
Any insight why this is not working and comments or ideas to make workable
would be highly appreciated.
Cheers !

```

• Prev by Date: Re: Optimize evaluation of symbolic expressions
• Next by Date: Re: Warsaw Univ. course, was Re: Work on Basic Mathematica Stephen!