News for hackers. Stuff that matters.
Re:High quality graphics for Latex documents: The Matlab route by davrosthedalek on Friday March 17, 2017 @08:48AM (#13893531)
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)
Re:High quality graphics for Latex documents: The Matlab route by MJSplot_author on Friday March 17, 2017 @10:38AM (#13894277)
There 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.
Re:High quality graphics for Latex documents: The Matlab route by gjulianm on Friday March 17, 2017 @09:28AM (#13893755)
Good 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-lat...

Re:High quality graphics for Latex documents: The Matlab route by danieldk on Friday March 17, 2017 @10:55AM (#13894394)
org-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/

Re:High quality graphics for Latex documents: The Matlab route by filmor on Friday March 17, 2017 @09:59AM (#13894003)
You don't even need that, if you allow shell-escapes you can run gnuplot directly from your latex call.
Re:High quality graphics for Latex documents: The Matlab route by davrosthedalek on Friday March 17, 2017 @09:50AM (#13893918)
I was aware of latexmk, but I didn't know it can run gnuplot too. That's great! Thanks!
Re:High quality graphics for Latex documents: The Matlab route by leephillips on Friday March 17, 2017 @08:54AM (#13893564)
That is extreme - but a nice example of the implications of tight LaTeX integration!