substitutefor

software · Q1102

gnuplot

Command-driven utility for plotting functions and data in interactive and scripted workflows.

Suggest a correction

Overview

gnuplot is a command-driven plotting utility for mathematical functions and data. It can be used interactively or through scripts and produces two- and three-dimensional graphics through multiple output backends. It is also used as a plotting component by other applications, rather than requiring a spreadsheet-style project workspace.[3]

Commands and output backends

A plotting workflow describes data sources or functions and sets presentation options in commands. Output backends, called terminals, target interactive windows or formats such as PDF, SVG and raster images. This arrangement suits repeated figure generation where the plot specification is retained as text. The available terminals depend on the build, so choosing an output format is also a deployment consideration rather than only a cosmetic preference.[2][3]

Saving commands and data

The save command records functions, variables, settings and the latest plot command in a text file that can later be loaded. That state file is not automatically a self-contained copy of every external data source. Separate save options cover particular state categories, including datablocks and fit parameters. Keeping scripts and their referenced input data together is necessary if another machine must recreate the figure.[4]

Fitting and convergence

The fit workflow adjusts parameters of a user-defined function against data and records results in a log. Starting values and convergence checks matter; a finished-looking curve does not guarantee the desired solution. The manual distinguishes fitting from simply smoothing points. For a reproducible analysis, the function, initial parameters, weighting choices and data should remain available alongside the final plotted result.[4]

License and alternatives

gnuplot can be used without payment, but its custom license is not the GNU GPL. The copyright notice permits modifications while imposing particular conditions on redistribution, including patch-based source changes and identification of modified versions. It can replace Veusz for supported scripted scientific plots, but does not reproduce Veusz's widget editor or native documents. Choosing between them concerns the required authoring and automation workflow as well as whether the desired plot can be drawn.[1][2][5]

Capabilities & limitations

Scripted scientific plotting

supported

Commands generate interactive or file-based 2D and 3D plots.[3]

Scientific plotting and data analysis · Linux, Windows, macOS, Other supported platforms · Platform, edition, project-format and data-dependency requirements apply

1 source · check evidence
https://gnuplot.sourceforge.net/

Command-driven plotting, platforms and output terminals

vendor · checked 2026-10-07

Reproducible saved state

limited

Saved commands must be retained with referenced data and relevant output settings.[4]

Scientific plotting and data analysis · Linux, Windows, macOS, Other supported platforms · Platform, edition, project-format and data-dependency requirements apply

1 source · check evidence
https://gnuplot.sourceforge.net/docs_6.0/Gnuplot_6.pdf

Fit pp.108–114 and Save p.150: parameters, convergence and saved commands

vendor · checked 2026-10-07

Can substitute for

These are products or services this entry can replace. Check the task and limitations for each comparison.

Veusz for Scripted scientific figure production

limited

Alternative text-command workflow for supported plots; native documents and widget-based editing differ.[3][5]

Linux, Windows, macOS, Other supported platforms · Platform, edition, project-format and data-dependency requirements apply

References

  1. gnuplot copyright

    Usage permissions and patch-based redistribution of modifications

    vendor · retrieved 2026-10-07
  2. gnuplot FAQ

    Scripting, platforms and distinct non-GPL project license

    vendor · retrieved 2026-10-07
  3. gnuplot

    Command-driven plotting, platforms and output terminals

    vendor · retrieved 2026-10-07
  4. gnuplot 6 manual

    Fit pp.108–114 and Save p.150: parameters, convergence and saved commands

    vendor · retrieved 2026-10-07
  5. Veusz scientific plotting

    Widget-based plotting, platforms and export formats

    vendor · retrieved 2026-10-07

Discussion & disputes

Ask about unclear claims or explain a concern with supporting sources. If you have a specific fix, suggest a correction.

No discussion yet.

Sign in with an active account to join the discussion.

Revision history

Open a revision to read an earlier version of this article.

RevisionTimestampEdit summary
11502026-10-13 22:11:15/* wbeditentity-create-item:0| */ sf:5cfca602-8722-4038-81bc-f16a6005975c:v1 | Add gnuplot with cited scientific plotting, licensing and project-preservation limits; no installation or numerical testing performed. | attribution: /proposals/5cfca602-8722-4038-81bc-f16a6005975c