Mathematica: Illustrate a 3D vector field

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 2K views
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