I am looking for an open source program that is compatible with Linux and Windows that allows me to easily create diagrams, of the style necessary to describe mathematical ideas and things like free-body diagrams used in Newtonain physics.

I am looking for something where I can type a relatively simple but very flexible code, with a comparable time commitment to drawing the diagram by hand (LibreOffice's formula editor code accomplishes this very well for algebraic expressions), and output an image, either to the clipboard or to a file that I can then embed into a document.

The images do not need to be fancy, but should be professional, with things like sharp edges and straight lines. I don't even need support for multiple colors.

Examples of the kinds of diagrams I want to be able to create:

Does any such thing exist?

  • 1
    Did you look at GraphViz?
    – albert
    Mar 29, 2018 at 9:21
  • 1
    "do not need to be fancy", proceeds to give as examples three fairly non-trivial diagrams =)
    – Mathieu K.
    Apr 30, 2018 at 1:43
  • @MathieuK. by "fancy" I mean "looks nice" I want a good amount of detail, but not decorations.
    – john01dav
    Apr 30, 2018 at 5:26

1 Answer 1


Making markup simple is not trivial even for basic diagrams, therefore it looks like http://latexdraw.sourceforge.net/ is your best choice.

Open source, GPLv2.

screen 1

screen 2


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.