Gnuplot diagram
Example taken here β
About
Gnuplot β is a graphing utility. The source code is copyrighted but freely distributed (i.e., you donβt have to pay for it). It was originally created to allow scientists and students to visualize mathematical functions and data interactively. It is also used as a plotting engine by third-party applications like Octave. Gnuplot has been supported and under active development since 1986.
Installation
-
Install dependencies
-
Configure Astro. See note about Rehype Plugins for Code.
-
Optional install dependency for cache
-
Optional configure cache
-
Optional add pan and zoom for diagrams
Example
Bonus: XKCD-style
Example taken here β.
Note: In order for the example to work as SVG, I changed the following lines:
You may use any font you like and load if, for example: