# gnuplot

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

ID: Q1102 · Revision: 1150

Type: software · License: Custom gnuplot license; not GPL[^gnu-license][^gnu-faq] · Status: active

Website: https://gnuplot.sourceforge.net/



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\.[^gnu-home]

## 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\.[^gnu-home][^gnu-faq]

## 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\.[^gnu-manual]

## 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\.[^gnu-manual]

## 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](/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\.[^gnu-license][^gnu-faq][^veusz-home]

## Capabilities and substitutions

### Scripted scientific plotting — supported

Commands generate interactive or file\-based 2D and 3D plots\.[^gnu-home]

Use case: Scientific plotting and data analysis · Platforms: Linux, Windows, macOS, Other supported platforms · Region: Platform, edition, project\-format and data\-dependency requirements apply

### Reproducible saved state — limited

Saved commands must be retained with referenced data and relevant output settings\.[^gnu-manual]

Use case: Scientific plotting and data analysis · Platforms: Linux, Windows, macOS, Other supported platforms · Region: Platform, edition, project\-format and data\-dependency requirements apply

### [Substitute for Veusz](/veusz) — limited

Alternative text\-command workflow for supported plots; native documents and widget\-based editing differ\.[^gnu-home][^veusz-home]

Use case: Scripted scientific figure production · Platforms: Linux, Windows, macOS, Other supported platforms · Region: Platform, edition, project\-format and data\-dependency requirements apply

## References

[^gnu-license]: [gnuplot copyright](<https://sourceforge.net/p/gnuplot/gnuplot-main/ci/master/tree/Copyright>) — Usage permissions and patch\-based redistribution of modifications (vendor; retrieved 2026-10-07T03:53:59Z)

[^gnu-faq]: [gnuplot FAQ](<https://gnuplot.sourceforge.net/FAQ.pdf>) — Scripting, platforms and distinct non\-GPL project license (vendor; retrieved 2026-10-07T03:54:07Z)

[^gnu-home]: [gnuplot](<https://gnuplot.sourceforge.net/>) — Command\-driven plotting, platforms and output terminals (vendor; retrieved 2026-10-07T03:52:52Z)

[^gnu-manual]: [gnuplot 6 manual](<https://gnuplot.sourceforge.net/docs_6.0/Gnuplot_6.pdf>) — Fit pp\.108–114 and Save p\.150: parameters, convergence and saved commands (vendor; retrieved 2026-10-07T03:54:18Z)

[^veusz-home]: [Veusz scientific plotting](<https://veusz.github.io/>) — Widget\-based plotting, platforms and export formats (vendor; retrieved 2026-10-07T03:52:52Z)

Source revision: https://substitutefor.net/entities/Q1102?revision=1150
