1. Limited time only! Sign up for a free 30min personal 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!

Diagrams -> LaTex

  1. Mar 29, 2009 #1
    I'm sorry if this is the wrong forum but I think that mathematicians often work with LaTex and should be able to answer.

    Could you please recommend me any kind of software for creating diagrams (plotting functions, drawing vectors, writing down matrices, etc) and then converting these diagrams into LaTex code. Btw, I work with Linux Ubuntu and I won't use Wine, so, please, only software for Linux.
  2. jcsd
  3. Mar 29, 2009 #2
    Learn LaTeX.
  4. Mar 29, 2009 #3

    matt grime

    User Avatar
    Science Advisor
    Homework Helper

    LaTeX itself typesets most mathematical objects you need. It is not a great graphical tool, but see the LaTeX Graphics companion for more.

    If you want to draw graphs, then look at R (which is entirely free in all senses), xv or xfig, and create graphics in eps format for inclusion into a LaTeX document (other formats work too). Other options (which aren't necessarily free) are maple, mathematica or matlab.
  5. Mar 29, 2009 #4
    Thank you!
  6. Mar 29, 2009 #5


    User Avatar
    Homework Helper

    You can also try the free software Sage - it is a nice little front end to some math packages, but it has a "sagetex" style for use with latex that allows sage code to be embedded inside
    latex files.
    there is a similar feature with R.

    if you need "one off" graphics - diagrams, etc,, both the PS-Tricks (post-script tricks) packages and the pdg/tikz packages for latex are highly recommended. I found tikz easier to learn, but PS-Tricks can do many things tikz can't.
  7. Mar 29, 2009 #6
    I find that plots in PDF or postscript are best for LaTeX, and a simple free tool for generating professional quality plots of this kind is gnuplot.
  8. Mar 29, 2009 #7


    User Avatar
    Homework Helper

    If you intend to learn latex, even if you already know it, you can find (almost) no end of
    very good advice on the web.

    A good starting point is


    (tug = Tex Users' Group)
  9. Mar 29, 2009 #8
    asymtote is what I use to draw graphs, geometric diagrams, etc.
  10. Mar 30, 2009 #9
    Wow, thank you guys for all the advice.
  11. Mar 30, 2009 #10
    Asymptote! You can also use the "inhouse" graphics environment in your basic TeX package.
  12. Mar 30, 2009 #11
    So I installed Tex Live and am now using just Gedit to write .tex files which I can than turn into neat .pdf documents. Of course I just started reading a manual on LaTeX and still don't know much about it but I'm quite amazed by the possibilities that are offered by LaTeX. Ok, gotta go, read the manual.

    Thank you all for the advice to learn LaTeX.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook