Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Gnuplot

$ gnuplot Community Med Risk
Gnuplot · Design & Docs · Gnuplot · macos / linux / windows

Gnuplot (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 / !).

FCRS-1.0 Score
69 /100
Usable w/ Caveats
Medium Confidence
Zero-Friction Install
brew install gnuplot
CLI vs MCP Decision CLI Only

Rendering CSV/TSV datasets directly into SVG or PDF charts locally with gnuplot avoids sending raw datasets over MCP.

Agent-Readiness Checklist

— JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
— Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 15 / 25

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 -e flag and -d default-rc bypass
  • Interactive REPL when invoked without script args; no JSON output
Trust & Safety 17 / 25

Local offline rendering, but Gnuplot scripts support shell execution via ! and system(...) unless audited.

  • Gnuplot script language allows ! and system() shell commands
Setup & Portability 13 / 15

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
Utility & Efficiency 11 / 15

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
Maintenance & Lineage 7 / 10

Long-lived community scientific tool hosted on SourceForge since 1986 with steady point releases.

  • Active SourceForge v6.x maintenance
Docs & Verifiability 6 / 10

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

Auth Modes
No Auth
Credential Storage

None required; plots local data files offline.

Side Effects
Read-Only Local Write
Cost & Quotas

100% free, offline, and open-source (Gnuplot License).

Copyable Guardrail for CLAUDE.md / AGENTS.md
# 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

Check Gnuplot version
gnuplot --version

Prints the installed gnuplot version without entering the interactive prompt.

Controlled Writes & Previews

Render a plot script directly to SVG
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.
  • + -d and -e enable reproducible, single-command non-interactive renders.

Caveats & Pitfalls

  • ! Gnuplot scripts can run arbitrary shell commands via ! or system(...).
  • ! Running gnuplot without arguments enters a blocking REPL, and syntax errors emit unstructured text.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI