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

Plotting in LaTeX?

  1. Feb 15, 2004 #1
    Hi! Is it possible to do a plot directly from LaTeX, ie using a tex command? It would be nice to do something like \plot{x^2+y^2+z^1=1} instead of plotting it in maple, exporting it to PostScript, opening and editing in illustrator, exporting to PDF and then include it in the file...

    Thanks on advance!
  2. jcsd
  3. Feb 18, 2004 #2
    Theres no way to do it automatically. You COULD add all the points and lines one by one, but that would be a waste of time.

  4. Feb 23, 2004 #3
    The way I do it (in Linux) is by plotting the whole thing in GNUplot and making the output in LaTeX-code... This way you can include it by using


    I have put a guide to it on my webpage

    http://www.imada.sdu.dk/~jarnhus/pspdf/tutorial.ps [Broken]
    Last edited by a moderator: May 1, 2017
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook