1. Not finding help here? Sign up for a free 30min tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Mathematica: Illustrate a 3D vector field

  1. Sep 6, 2014 #1
    1. The problem statement, all variables and given/known data
    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
    2. Relevant equations



    3. The attempt at a solution

    I used Mathematica to plot them like this:
    Code (Text):
    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.
     
  2. jcsd
  3. Sep 7, 2014 #2

    DrClaude

    User Avatar

    Staff: Mentor

    You can plot 3D vector fields using
    Code (Text):
    VectorPlot3D
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted



Similar Discussions: Mathematica: Illustrate a 3D vector field
  1. Vector 3d (Replies: 1)

  2. Vectors in 3D (Replies: 6)

Loading...