Tikz Graph Helper

unlisted

by Justus

Helps to generate tikz graphs and code.

★ 16 starsUpdated 2d agoMIT
View on GitHub

Every formula in your notes is a chart.

Easy Graphs Charts and TikZ is an Obsidian plugin for math charts. Rest the pointer on a formula, or write a chart in LaTeX. It draws on phones too, and exports pgfplots code that compiles with pdflatex.

A complete editor

The Easy Graphs Charts and TikZ editor on the area between the cubic f(x) = x³ − 3x and its tangent at a. On the left, cards for the function, the hidden tangent and the shaded region; on the right, the live preview with the tangent, the orange area labelled A = 2.76 and the title slope at x = 0.8: −1.08, and under it the slider a. The tabs Build, Chart, Code, Help and AI are at the top.

Click any chart to open it. Everything is connected: drag a line, a point or a label in the preview and its formula follows, drag a 3D chart to turn it, scroll to zoom. No fiddling with code or camera angles. A card for each object, sliders with play, and the pgfplots code ready to copy.

The editor with the + Add picker open: a search field on top, the groups Functions, Regions, Curves and lines, Points, Segments and arrows, Data, Probability, Calculus, Labels, Sliders and Templates on the left, and the five items of Points on the right, each with a line about what it does: points from a list, intersections of two functions, corner points of a region, the optimum over a region and the integer points in a region.

+ Add holds a wide range of ready-made parts, sorted into groups and found by search: regions, curves and lines, crossings, corners and the optimum of a region, arrows and braces, data with a regression line, probability, Riemann sums, slope fields, labels, sliders and templates.

Write charts in LaTeX

A linear program drawn from LaTeX: the shaded feasible region with numbered constraint lines, the dashed line z = 6 and the optimum, with a slider for c. Beside it, a switch between Words + LaTeX math and Full LaTeX, and the chart's text with its formulas in dollars.

Formulas are LaTeX in dollars, as in your notes. Or write whole charts as LaTeX commands, as in pgfplots.

Sliders that move together

Two charts side by side, the parabola a x² and the curve a sin(x), joined by a link symbol. Both sliders a stand at 1.5.

Any number can be a slider. Sliders with the same name move together in all charts of a note.

Fast 3D

The peaks surface in 3D: a landscape with a high peak, a smaller one and a deep valley, solid and coloured by height from dark blue to yellow, drawn from 10,000 polygons in a cube box with numbers on its edges, and under it the slider a.

Solid surfaces, coloured by height, turn under your pointer and follow their sliders: about 60 frames per second for a typical surface, above 30 with 14,400 polygons. The PDF draws the same picture.

Data, probability and calculus

Four charts. Points from a table with their regression line y = 4.14x + 47.7, R² = 0.99. A normal distribution with P(−1 ≤ X ≤ 1) = 0.683 shaded. The left Riemann sum of x² with 6 parts, 2.037, next to the integral 2.667. The slope field of y′ = x − y with the solution through a point.

Points from a Markdown table with their regression line, distributions with a shaded probability, Riemann sums, and slope fields with their solutions.

Charts as SVG files

A vault folder Calculus with the note Week 3.md and the file Week 3 · chart 1.svg, the line that embeds the file, and the chart on white as the file shows it.

Every chart can also be an SVG file in your vault, so Obsidian Publish and GitHub show it.

Learn it step by step

The Help tab: the card Write a chart in words, with a chart's lines in English and LaTeX beside the linear program they draw, and below it a gallery of guides with category chips and tiles of their finished charts: a damped wave, a parabola with a slider, a polar rose, the unit circle unrolling into the sine, a tangent, a secant, an accumulated area and a Riemann sum.

The Help tab is a gallery of 39 short guides. Each step shows its chart live with its sliders, and the lines it adds to the chart, so you learn the chart language while you build.


39 step-by-step guides in the Help tab and on GitHub · What's new in 5.0 · Make charts with AI · Reference · Changelog

Privacy: nothing goes to the internet, and there is no telemetry. AI access (off by default) answers on 127.0.0.1 only, with your token. All details

MIT · Developing Easy Graphs Charts and TikZ

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.