I am currently writing on thesis, where I plan to include quite a few function plots. The functions I am talking about are mostly polynomial functions (domain and range are real numbers). However, I also have a few piecewise defined functions I also want to include in the thesis.
My question is, would you rather create the function plots in an external program like matlab and include them as a pdf or jpeg, or would you create the plots within LaTeX? What would be the benefits for me in any of these scenarios? Furthermore, if i chose to create my function plots in LaTeX, what would you use for this purpose?
tikzandpgfpackages. The bigger advantage of creating in LaTeX (except of the need of only one LaTeX document's code and not separate software to edit everything) is that the same font and an appropriate font and fontsize will be added in your document. This makes the document been really professional. – koleygr Aug 13 '19 at 18:47pgfplots, see e.g. https://tex.stackexchange.com/questions/3622/best-way-to-generate-a-nice-function-plots-in-latex?rq=1 – Torbjørn T. Aug 13 '19 at 18:47include graphics. I a plot is not quite what you want, it's easier and faster to modify, without changing the main files. To plot within laTeX, the usual tools are eitherpstricksorTikZ. – Bernard Aug 13 '19 at 18:48pgfplots. The compilation time became incredibly high with more plots, so I decided to include the graphics (made by, e. g., MATLAB or in otherLaTeXdocuments). I don't know whether it would be better if I wrote the chapters part by part and include them later$\dots$, so I would recommend you to try both options. – Jan Aug 13 '19 at 18:49