Re:High quality graphics for Latex documents: The Matlab route
by JohnHammersley on Friday March 17, 2017 @09:15AM
(#13893650)
There's also a nice gallery of online pgfplot examples at http://pgfplots.net
Re:High quality graphics for Latex documents: The Matlab route
by widdma on Friday March 17, 2017 @09:26AM
(#13893734)
I'd second the PGFPlots recommendation. Easy to create plots by hand or you can use matlab2tikz (mentioned but dismissed in the article) if you're coming from matlab.
I'd also second the latexmk recommendation!
Re:High quality graphics for Latex documents: The Matlab route
by tjl on Friday March 17, 2017 @11:59AM
(#13894986)
I love matlab2tikz. I used it for all my plots in my Ph.D. thesis (and I had a lot). I also really like latexmk.
For non-plots I love Sketch (http://sketch4latex.sourceforge.net) which is pretty great for doing diagrams with 3D objects, especially if you use the sketch-lib (https://alexdu.github.io/sketch-lib/) which provides a bunch of useful simple objects to manipulate.
http://pgfplots.sourceforge.net/
It delivers nice vector graphics plots, and since it's in your .tex file, it automatically picks up any and all styling changes you have made in the preamble. You can have it re-render plots on each LaTeX compilation, or just conditionally re-render plots if the data has changed.
(As always, latexmk [ http://mg.readthedocs.io/latexmk.html ] comes highly recommended for automating the compilation of LaTeX documents.)