Gnuplot
$ gnuplot Community Med RiskGnuplot (gnuplot) is a battle-tested portable command-line plotting engine for 2D/3D charts, regressions, and scientific SVG/PDF/PNG figures. Passing -e inline commands or a .gp script executes non-interactively, though launching gnuplot with no arguments opens an interactive REPL and scripts support shell escapes (system / !).
brew install gnuplot Rendering CSV/TSV datasets directly into SVG or PDF charts locally with gnuplot avoids sending raw datasets over MCP.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Non-interactive with -e or script files plus -d reproducible defaults, but bare gnuplot enters an interactive REPL and there is no JSON output or modern CLI structure.
- Scriptable
-eflag and-ddefault-rc bypass - Interactive REPL when invoked without script args; no JSON output
Local offline rendering, but Gnuplot scripts support shell execution via ! and system(...) unless audited.
- Gnuplot script language allows
!andsystem()shell commands
Ubiquitous across Homebrew, apt, dnf, and SourceForge Windows builds, though available terminals (svg, pdfcairo, pngcairo) vary by build.
- Available on macOS, Linux, and Windows; terminal backends depend on compile options
Fast, scriptable 2D/3D scientific plotting and curve fitting, though syntax is quirky and dated compared to Python/Vega-Lite.
- Handles millions of data points cleanly into vector SVG/PDF
Long-lived community scientific tool hosted on SourceForge since 1986 with steady point releases.
- Active SourceForge v6.x maintenance
Extensive PDF/HTML manual at gnuplot.info, though dense legacy formatting makes quick flag lookup harder.
- Official docs at gnuplot.info/documentation.html
Security, Auth & Guardrails
None required; plots local data files offline.
100% free, offline, and open-source (Gnuplot License).
# Gnuplot Agent Rules - Always pass a script path or `-e "..."` (never run bare `gnuplot`, which blocks in an interactive REPL). - Pass `-d` to ignore `~/.gnuplot` rc files for reproducible renders. - Inspect untrusted `.gp` scripts for `!cmd` or `system(...)` shell-escape directives before running.
Agent-Ready Command Recipes
Safe Read-Only Queries
gnuplot --version
Prints the installed gnuplot version without entering the interactive prompt.
Controlled Writes & Previews
gnuplot -d -e "set terminal svg; set output 'out.svg'" plot.gp
Ignores user startup files (-d) and renders plot.gp non-interactively to out.svg.
Strengths for Agents
- + Ubiquitous offline scientific plotter outputting crisp vector SVG/PDF figures from CSV/TSV data.
- +
-dand-eenable reproducible, single-command non-interactive renders.
Caveats & Pitfalls
- ! Gnuplot scripts can run arbitrary shell commands via
!orsystem(...). - ! Running
gnuplotwithout arguments enters a blocking REPL, and syntax errors emit unstructured text.