Mathematica: Illustrate a 3D vector field

Click For Summary
To effectively illustrate a 3D vector field in Mathematica, the user is seeking advice after struggling with a poor initial attempt using Graphics3D. They provided a code snippet that generates arrows for the vectors but resulted in a cluttered and unclear visual representation. Suggestions from the community include using the VectorPlot3D function, which is specifically designed for plotting 3D vector fields more clearly. The discussion emphasizes the need for better visualization techniques to enhance the clarity of the plotted data. Overall, the focus is on improving the graphical output for better interpretation of the vector field.
skrat
Messages
740
Reaction score
8

Homework Statement


Hi,
Firstly, let me apologize if this is not exactly the right topic to ask this questions. But since it is homework and since most of the Physicists for sure illustrate a 3D vector field, I decided to post it here.

Attached I have two files with 3D vectors.

How does one plot a 3D vector field, so that important things can still be seen? :/
View attachment tocke.txt
View attachment polje.txt

Homework Equations





The Attempt at a Solution



I used Mathematica to plot them like this:
Code:
Graphics3D[
 Table[{Arrowheads[.02], 
   Arrow[{tocke[[i]], polje[[i]] + tocke[[i]]}]}, {i, 1, 1331}], 
 Axes -> True]

Sadly, the picture I get is extremely horrible and nothing can actually be seen.
magnet.png


And I was hoping one of you might now a better idea on how to draw a 3D vector space? Hopefully.
 
Physics news on Phys.org
You can plot 3D vector fields using
Code:
VectorPlot3D
 
Question: A clock's minute hand has length 4 and its hour hand has length 3. What is the distance between the tips at the moment when it is increasing most rapidly?(Putnam Exam Question) Answer: Making assumption that both the hands moves at constant angular velocities, the answer is ## \sqrt{7} .## But don't you think this assumption is somewhat doubtful and wrong?

Similar threads

Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 1 ·
Replies
1
Views
16K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 1 ·
Replies
1
Views
5K
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
14K