r/ObsidianMD • u/hert0ne • 3d ago
plugins Quickplot - i built a super simple math plotter because i'm lazy
i take a lot of calc / physics notes in Obsidian and got annoyed of using desmos (either the plugin or screenshotting which by the way looks awful when switching between dark and light mode) or configuring complex blocks just to sketch a funcion.
so i built quickplot. you just open a ```plot block and type one expression per line:
```plot
x + 1 [cyan, "f(x)"]
0.5x^2 - 1 [purple, "g(x)"]
area(x + 1, 0.5x^2 - 1, -1.24, 3.24) [purple, "S"]
(-1.24, -0.24) [red]
```
(it might look like a mess but make sure to read the short guide on github and you'll understand in 30 seconds)
it renders clean SVGs (which adapt based on dark/light mode) with LaTeX style fonts so it actually blends with math blocks, handles implicit multiplication (2x, 3sinx), asymptotes (x=4), parametric curves, and auto-expands the axes if a vertex or point is off-screen.
repo with guide and examples: Quickplot
if you use it, let me know if you enjoy it, if anything breaks, or if there's syntax you wish it had!
1
u/blaidd31204 2d ago
This is really nice.
1
u/eelleemeenop 1d ago
Im working something like this too, .since june, now it has a lot of features esp for civil engineering yet im still not showcasing it or uploa to community plugin
1
u/thebeautifullynormal 5h ago
Good to know imma flag this