Mathematica: Illustrate a 3D vector field

Join the discussion
Registration is free. Start your own thread to ask a follow-up.
1 reply · 2K views · last reply
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.
Mathematica 3D plot of a dense vector field in a cube with axes from -100 to 100, arrows swirling around the centre and crowding together, making the pattern hard to read.


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