What is the best graph editor to use in your articles? - MathOverflow most recent 30 from http://mathoverflow.net 2013-05-25T11:37:22Z http://mathoverflow.net/feeds/question/15664 http://www.creativecommons.org/licenses/by-nc/2.5/rdf http://mathoverflow.net/questions/15664/what-is-the-best-graph-editor-to-use-in-your-articles What is the best graph editor to use in your articles? Leonid Dworzanski 2010-02-18T03:22:59Z 2010-12-27T01:42:54Z <p>Here is the criteria for an "perfect" graph editor:</p> <ul> <li>it should be able to perform an automated, but controllable layout</li> <li>one is able to make "manual" enforcements to nodes and edges locations when you need it (or at least such fine automated layout so you don't need "manual" enforcements)</li> <li>one could add some math symbols and formulae on a graph</li> </ul> <p>Common vector graphics editors could do the trick, but there is a lot of overhead efforts to draw every node, every edge, every label.</p> <p>Graphviz is good enough, but sometimes you cannot get needed layout (even if you use several tricks like additional invisible nodes etc) and you should use ladot or dot2tex for math formulae</p> <p>yEd has nice layouts, but there is a problem with a math text.</p> <p>This is probably not a math question, but it is common to draw graphs in articles i think.</p> <p><a href="http://mathtech.ru/0pocket/grf_res.jpg" rel="nofollow">Result graph</a></p> <p>(Update: 27.12.2010) Here is another candidate for the best editor in TeX - Asymptote (asymptote.sf.net). The very powerful tool at first glance.</p> http://mathoverflow.net/questions/15664/what-is-the-best-graph-editor-to-use-in-your-articles/15667#15667 Answer by Daniel for What is the best graph editor to use in your articles? Daniel 2010-02-18T04:00:31Z 2010-02-18T05:36:53Z <p>For something quick (and not necessarily dirty) you can use <a href="http://en.wikipedia.org/wiki/Xfig" rel="nofollow">XFig</a> — TeX symbols are allowed, and there's quite a lot you can do (it's quite impressive how powerful this 'oldie' can be ;-).</p> <p>For something more elaborate, i'd say <a href="http://en.wikipedia.org/wiki/PGF/TikZ" rel="nofollow">PGF and TikZ</a> — this is a very powerful tool, and you can virtually do whatever you want with it.</p> <p>For some sort of "middle ground" approach, you can maybe try <a href="http://www.tug.org/applications/Xy-pic/" rel="nofollow">Xy-pic</a> — this is not as old as XFig and not as new as PGF/TikZ; and used to be the standard way to go for graphs. ;-)</p> <p>Hope this helps.</p> <p>PS: I'm a new user, so can't post links yet… so, i used <strong>bold</strong> instead: just search for the terms in bold and you should be all set. ;-)</p> <p>Edit: to include the links (now that i can post link ;-).</p> http://mathoverflow.net/questions/15664/what-is-the-best-graph-editor-to-use-in-your-articles/15669#15669 Answer by Anton Petrunin for What is the best graph editor to use in your articles? Anton Petrunin 2010-02-18T04:26:40Z 2010-02-18T04:44:01Z <p>For adding math symbols I use <a href="http://www.math.uni-leipzig.de/~matveyev/lpic/" rel="nofollow">lpic</a> --- this way you use LaTeX to write over picture,so you can add ALL math symbols NOT just some. BONUS: if you change notation, you do not have to redo picture. </p> <p>For drawing I often use some <a href="http://www.geogebra.org/cms/" rel="nofollow">geogebra</a> or <a href="http://edu.kde.org/kig/" rel="nofollow">kig</a>. This soft is mostly designed for compass and straightedge constructions, but I use it as an advanced vector-graphic editor --- it is flexible enough to make virtually any math drawing.</p> http://mathoverflow.net/questions/15664/what-is-the-best-graph-editor-to-use-in-your-articles/15684#15684 Answer by Andrew Stacey for What is the best graph editor to use in your articles? Andrew Stacey 2010-02-18T09:51:26Z 2010-02-18T09:51:26Z <p>Graphviz is extremely powerful and I'd be surprised to discover that it doesn't do what you need. It only generates the positions of nodes that aren't already specified so if you need fine tuning then you can run it to get a basic graph, then fine tune it, and then it'll respect your fine tuning. Also, it comes with an interactive program called <code>dotty</code> which can be used to alter the graphs visually.</p> <p>One should also distinguish between <em>generating</em> graphs and <em>rendering</em> them. I use graphviz to generate graphs, but don't use it for rendering. For that, if PGF/TikZ can't do it then I'm not interested! PGF/TikZ is absolutely fantastic and has consigned xy.sty, xfig, and all the other stuff that I used to use to the rubbish bin [trash can]. Even for commutative diagrams in category theory!</p> http://mathoverflow.net/questions/15664/what-is-the-best-graph-editor-to-use-in-your-articles/15690#15690 Answer by Gray Taylor for What is the best graph editor to use in your articles? Gray Taylor 2010-02-18T10:48:01Z 2010-02-18T10:48:01Z <p>I already had about 30 pages of graphs typeset with xymatrix for my thesis before discovering tikz; but was so impressed by it that I was happy to rewrite them all. As well as (imho) looking better, it gave me cross-platform compatibility - xypic seems to need pstricks, so on the mac with TeXshop (which uses pdflatex, I assume) the old graphs couldn't even be rendered. </p> <p>Its ability to construct graphs iteratively can also be a massive timesaver- for instance, I wanted a bunch of otherwise identical rectangles at various positions, so with tikz could just loop over a list of their first coordinate rather than having to tediously cut,paste and modify an appropriate number of copies of the command for a rectangle. Particularly handy when I then decided they all needed to be slightly wider!</p> <p>There's a gallery of tikz examples <a href="http://www.texample.net/tikz/examples/" rel="nofollow">here</a>, to give you some idea of what it's capable of (and with the relevant source code- I did find the manual a bit hard to understand and learnt mostly by examples or trial and error).</p> <p>The vector graphics package inkscape (which I used to use for drawing more complicated graphs for inclusion as eps images) also apparently has a plugin to export as tikz, although I haven't tried that out.</p> http://mathoverflow.net/questions/15664/what-is-the-best-graph-editor-to-use-in-your-articles/20523#20523 Answer by Benoît Kloeckner for What is the best graph editor to use in your articles? Benoît Kloeckner 2010-04-06T16:29:04Z 2010-04-06T16:29:04Z <p>I personnally mostly use xfig, and start moving to inkscape. However I guess that they are not what you want. A friend of mine, working on graphs, uses metapost with great results. Last, for 3D images, I use povray which is very efficient with geometric forms. It renders natively in .png, so the best is to compile with pdflatex. You can find mathematical picture rendered with povray on my web page: <a href="http://www-fourier.ujf-grenoble.fr/~bkloeckn/images.html" rel="nofollow">http://www-fourier.ujf-grenoble.fr/~bkloeckn/images.html</a></p>