← ClaudeAtlas

tikz-scientific-figureslisted

Create publication-grade scientific figures and schematic diagrams with TikZ/PGFPlots, output as SVG + PNG (PDF only as compile intermediate, not a deliverable). Use when the user wants a figure for a paper/thesis/report, a data plot (line, scatter, bar, error-bar, heatmap, log axis), a circuit diagram, a flowchart or block diagram, a free-body/force or geometry schematic, a biology figure (immunofluorescence/tissue, cell, signaling pathway, gene or plasmid map), a CS/ML figure (neural network, system architecture, finite-state machine, tree, graph), or a molecular structure — especially when they mention TikZ, PGFPlots, circuitikz, LaTeX figures, reproducible/vector/publication-quality plots, or editing an existing .tex figure. Produces reproducible .tex + data sources the user can re-edit.
cjh-solver/MathModeling-Skills-Arsenal · ★ 106 · AI & Automation · score 86
Install: claude install-skill cjh-solver/MathModeling-Skills-Arsenal
# TikZ Scientific Figures Generate reproducible, publication-grade figures in TikZ. One figure = one `standalone` `.tex` file that compiles to PDF (intermediate only), then exports SVG + PNG as the actual deliverables. Always deliver the `.tex` (+ any data file) so the figure stays editable. PDF is not a deliverable and must not be registered in the figure registry. ## Step 0 — check the toolchain (first run only) ```bash bash scripts/check_env.sh ``` If tools are missing, show the user the printed install hints (OS-aware: macOS/Windows/Linux) and stop until the toolchain is in place. Need: a LaTeX engine (pdflatex — the scripts' default; lualatex needs luatex85), poppler (preview), and for SVG export dvisvgm + mutool (mupdf-tools). latexmk is optional — the scripts run the engine twice without it. **Cross-platform note.** The recipes and TikZ code are OS-independent (identical output on macOS/Windows/Linux). The four `.sh` scripts are portable bash: on Windows run them from Git Bash or WSL. If no bash is available, run the underlying commands directly — `compile` ≈ `pdflatex -interaction=nonstopmode -halt-on-error figure.tex` (run twice), `preview` ≈ `pdftoppm -png -r 200 -singlefile figure.pdf out`, `export_svg` ≈ `dvisvgm --pdf figure.pdf`. On Windows, MiKTeX auto-installs missing LaTeX packages on first compile, so the "optional packages" step is usually unnecessary there. ## Workflow 1. **Pick the figure type** and read the matching recipe (only that one): - data