Tikz Graph Helper
unlistedby Justus
Helps to generate tikz graphs and code.
★ 4 starsUpdated 13d agoMIT
TikZ Graph Helper
An Obsidian plugin for creating TikZ/pgfplots graphs through an intuitive visual editor with live preview.
Features
- Live SVG preview — see your graph update in real-time as you change settings (no external plugins needed)
- 2D function plots — plot mathematical functions with customizable color, thickness, dashing, and fill
- 3D surface plots — render 3D surfaces with wireframe or filled mode, adjustable opacity, and interactive mouse rotation
- Tangent lines — compute and display tangent lines at any point
- Extrema detection — automatically find and mark local minima/maxima
- TikZ code generation — generates valid pgfplots code you can copy or insert directly into your notes
- Dark/light theme support — respects your Obsidian theme
Usage
- Click the function icon in the ribbon (or use the command palette)
- Configure your graph using the tabbed settings panel:
- Graph — title, dimensions, 2D/3D mode toggle, camera controls (3D)
- Axis — labels, ranges, axis style
- Functions — add functions with expression, domain, styling, and analysis options
- Grid — major/minor grid lines
- Code — view the generated TikZ code
- The live preview on the right updates as you edit
- In 3D mode, drag the preview to rotate the camera
- Click Copy TikZ Code or Insert into Note when done
2D Functions
Enter any JavaScript math expression using x:
x^2,x^3 - 3*x,1/xsin(deg(x)),cos(deg(x)),Math.exp(x)
3D Surfaces
Enter expressions using x and y:
sin(x)*cos(y)x^2 + y^2sin(Math.sqrt(x^2 + y^2))
Installation
Via BRAT (recommended for beta)
- Install the BRAT plugin
- Add
Saiki77/tikz-graph-helpas a beta plugin
Manual
- Download
main.js,manifest.json, andstyles.cssfrom the latest release - Create a folder
tikz_graph_helperin your vault's.obsidian/plugins/directory - Place the downloaded files in that folder
- Enable the plugin in Obsidian settings
Development
npm install
npm run dev # watch mode
npm run build # production build
License
MIT
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.