1. PF Contest - Win "Conquering the Physics GRE" book! Click Here to Enter
    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
    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):
       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.

    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


    User Avatar

    Staff: Mentor

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

Have something to add?
Draft saved Draft deleted