4 ms·
I have yet to see a solution that beats gnuplot+tikz+LaTex in image quality. It's also trivial to script and include in a makefile. If you drive it to extremes,
by davrosthedalek 10y ago
I have yet to see a solution that beats gnuplot+tikz+LaTex in image quality. It's also trivial to script and include in a makefile. If you drive it to extremes, this is also the only solution I know of that can do proper references inside the figure key, for example a citation with bibtex. (But beware: this is too much for most publishers)
- leephillips 10y agoThat is extreme - but a nice example of the implications of tight LaTeX integration!
- gjulianm 10y agoGood thing is that you don't even need a Makefile. If you use latexmk it can automatically run gnuplot [1]. It's very useful if you are in "continuous-preview" mode (aka automatic builds when you change the source of the document). http://tex.stackexchange.com/questions/106512/gnuplot-in-latex-without-gnuplottex http://tex.stackexchange.com/questions/106512/gnuplot-in-lat...
- davrosthedalek 10y agoI was aware of latexmk, but I didn't know it can run gnuplot too. That's great! Thanks!
- filmor 10y agoYou don't even need that, if you allow shell-escapes you can run gnuplot directly from your latex call.
- danieldk 10y agoorg-mode is also worth looking into. You can execute code fragments and embed the results using Babel[1]. Makes it simple to use the output of e.g. gnuplot or matplotlib. I am relatively new to org-mode (via Spacemacs). But I really like it, you can use it as a quick notebook to jot down things, run code, and export the result as PDF per LaTeX. [1] http://orgmode.org/worg/org-contrib/babel/ http://orgmode.org/worg/org-contrib/babel/
- MJSplot_author 10y agoThere is another solution for having citations and references in figures: use Inkscape as suggested in the OP. In particular the save to pdf+latex feature. Any text elements in the figure are generated using latex. This means the correct font and the ability to write any latex you want as text. I still like hand editing figures to add complex annotations so I like being able to use Inkscape's GUI.