Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Drawing vectors on computer

  1. Sep 29, 2007 #1
    I need to draw a couple of vectors for a math assignment. Any recommendations as to what program to use for this? Can LaTeX do it?

    Thanks in advance :smile:
  2. jcsd
  3. Sep 29, 2007 #2

    Dr Transport

    User Avatar
    Science Advisor
    Gold Member

    The draeing toolbar in Powerpoint isn't too bad, you can draw the vector, right-click on it to look at the prpoerties then scale & rotate as you need to do to finish the assignment. Latex will work, but you will have to get thru the learning curve.
  4. Sep 30, 2007 #3
    Okay thanks, I'm doing my assignment in LaTeX anyhow so I'd prefer using that to draw too, but I can't find anything on drawing coordinate systems / vectors in LaTeX, got any links?
  5. Sep 30, 2007 #4
    There are a number of drawing systems for LaTeX, all of which can do what you ask. My personal favorite is pgf/Tikz, but Asymptote and Metapost seem like reasonable alternatives. pgf/Tikz can be used inline in a LaTeX document. Its default length unit is centimeters, the origin is in the lower left corner, and the drawing area expands automatically to fit its contents.
  6. Sep 30, 2007 #5
    I just had a look a Tigz, and I must say it looks awesome! Simply fantastic, thanks a bunch guys!
  7. Sep 30, 2007 #6


    User Avatar
    Science Advisor
    Homework Helper
    Gold Member

    For simple graphics...

    Look at my example in #6 [click on the picture] and my last post to see how I did it

    You probably want to use the \vector command
    see: http://cs5.ecok.edu/ByExample/node49.html [Broken]

    Note the limitations on the available slopes.
    http://www-h.eng.cam.ac.uk/help/tpl/textprocessing/teTeX/latex/latex2e-html/ltx-43.html [Broken]

    For more freedom, you can use \qbezier
    but you might have to draw the arrowheads yourself.

    The above are all constrained by the LaTeX features available at PF.
    Alternatively, you can try to include other packages
    like http://tug.org/PSTricks/ .
    Last edited by a moderator: May 3, 2017
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook