gnuplot Command-driven utility for plotting functions and data in interactive and scripted workflows.
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]
Contents 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]
References gnuplot copyright Usage permissions and patch-based redistribution of modifications
vendor · retrieved 2026-10-07 gnuplot FAQ Scripting, platforms and distinct non-GPL project license
vendor · retrieved 2026-10-07 gnuplot Command-driven plotting, platforms and output terminals
vendor · retrieved 2026-10-07 gnuplot 6 manual Fit pp.108–114 and Save p.150: parameters, convergence and saved commands
vendor · retrieved 2026-10-07 Veusz scientific plotting Widget-based plotting, platforms and export formats
vendor · retrieved 2026-10-07 Also included: 2 capabilities and 0 substitute relationships. Check substitutes in section 1 and capabilities in section 3.