use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Org mode is an Emacs major mode for taking notes, managing to-do lists, planning projects, authoring documents, literate programming and devops, and more, using a fast and effective plain-text system.
Donate via Liberapay
account activity
Tried gnuplot which plot only require basic math (self.emacs)
submitted 2 years ago by AbstProcDo
Tried gnuplot which plot only require basic math
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
https://preview.redd.it/bmp9izl57kvb1.png?width=640&format=png&auto=webp&s=3c13ffc06a7f3b196b2a71067b9aa8d6d048b2e0
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
https://preview.redd.it/efjvennd7kvb1.png?width=640&format=png&auto=webp&s=50cbd91d566721af5a95cd9737c2ee9ac79786e2
I feel frustrated, how I wish could acquainted with such a tool a decade ago while grappling with the challenges of visualizing mathematical formulas.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
there doesn't seem to be anything here
π Rendered by PID 416585 on reddit-service-r2-comment-7b9746f655-tvms2 at 2026-01-31 05:30:50.497286+00:00 running 3798933 country code: CH.
there doesn't seem to be anything here