I tried gnuplot and amazed by its performance. It allows you to directly plot mathematical formulas into graphs with just one single line of math equation.
#+BEGIN_SRC gnuplot :file images/trigon01.png
plot [-10:10] sin(x),atan(x),cos(atan(x))
#+END_SRC
when set arguments, it might requires one more line:
#+BEGIN_SRC gnuplot :file images/sd01.png
g(x) = exp(-0.5*(x/s)**2)/s
plot s=1 g(x), s=2 g(x), s=3 g(x)
#+END_SRC
I feel frustrated, how I wish could acquainted with such a tool a decade ago while grappling with the challenges of visualizing mathematical formulas.
Also, check out https://archive.org/details/gnuplotinactionu0000jane (Gnuplot in action : understanding data with graphs)
great book ,thank you.
nowadays, I don’t see why anyone would use gnuplot instead of matplotlib.
Because I already know it well and I don’t have the time / want to put myself learning matplotlib or other plotting tools.
One could run gnuplot in mind to draw a graph with very limited lines, but impossible to get such a job done with large amount of matplotlib’s code.
Oh this is really cool, and reminds me that I’m not using org-babel nearly enough.
Not only is there an emacs mode for it, there is a whole TeXmacs emacs-a-like for mathematics
Use an org-table with your plots and you aren’t getting any work done for a week!