The reason I ask this is because I was trying to draw multiple lines in pgfplots (I was trying to make a drawing showing how Riemann sums and integrals are connected). And after unsuccessfully trying to use a for loop for an hour or so, I found this solution, which was pretty unsatisfying since it's just a workaround for this particular case. And I thought that it would have been much easier with the power of Python. So, my question is: What do I lose by switching to matplotlib?

closed as primarily opinion-based by user13907, darthbith, Zarko, Svend Tveskæg, Werner Dec 31 '15 at 1:59

Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 5
    Maybe I do not understand your question, but is it not obvious!? -by switching to matplotlib, you loose LaTeX. PGFPlot(in TikZ in LaTeX) is used to create high quality plot outputs. – hpekristiansen Dec 30 '15 at 3:52
  • @Hans-PeterE.Kristiansen Can't I import the resulting plot into LaTeX anyway? – Kitegi Dec 30 '15 at 11:48
  • Of course, but it's not generated by LaTeX. – Torbjørn T. Dec 30 '15 at 14:01
  • 1
    You get everything in one place, you get the same fonts by default. – Torbjørn T. Dec 30 '15 at 14:24
  • 1
    I see this has been closed now. Anyway, just wanted to mention that it is somwhat similar to Why draw diagrams using LaTeX when there are open source tools like OpenOffice?/ – Torbjørn T. Jan 28 '16 at 7:53

Browse other questions tagged or ask your own question.