The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Inactive » comp.soft-sys.math.mathematica

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: ListVectorPlot3D
Replies: 1   Last Post: May 29, 2013 3:48 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View  
David Park

Posts: 1,560
Registered: 5/19/07
Re: ListVectorPlot3D
Posted: May 29, 2013 3:48 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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

From: BBabic []

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

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

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]
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 !

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.