{"schemaVersion":"1.0","record":{"label":"gnuplot","description":"Command-driven utility for plotting functions and data in interactive and scripted workflows.","aliases":[],"kind":"software","website":"https://gnuplot.sourceforge.net/","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.","license":"Custom gnuplot license; not GPL","lifecycle":"active","example":false,"features":[{"name":"Scripted scientific plotting","status":"supported","detail":"Commands generate interactive or file-based 2D and 3D plots.","useCase":"Scientific plotting and data analysis","platforms":["Linux","Windows","macOS","Other supported platforms"],"region":"Platform, edition, project-format and data-dependency requirements apply","evidence":[{"url":"https://gnuplot.sourceforge.net/","locator":"Command-driven plotting, platforms and output terminals","retrievedAt":"2026-10-07T03:52:52Z","kind":"vendor"}]},{"name":"Reproducible saved state","status":"limited","detail":"Saved commands must be retained with referenced data and relevant output settings.","useCase":"Scientific plotting and data analysis","platforms":["Linux","Windows","macOS","Other supported platforms"],"region":"Platform, edition, project-format and data-dependency requirements apply","evidence":[{"url":"https://gnuplot.sourceforge.net/docs_6.0/Gnuplot_6.pdf","locator":"Fit pp.108–114 and Save p.150: parameters, convergence and saved commands","retrievedAt":"2026-10-07T03:54:18Z","kind":"vendor"}]}],"alternatives":[],"slug":"gnuplot","draftAlternatives":[{"targetSlug":"veusz","status":"limited","detail":"Alternative text-command workflow for supported plots; native documents and widget-based editing differ.","useCase":"Scripted scientific figure production","platforms":["Linux","Windows","macOS","Other supported platforms"],"region":"Platform, edition, project-format and data-dependency requirements apply","evidence":[{"url":"https://gnuplot.sourceforge.net/","locator":"Command-driven plotting, platforms and output terminals","retrievedAt":"2026-10-07T03:52:52Z","kind":"vendor"},{"url":"https://veusz.github.io/","locator":"Widget-based plotting, platforms and export formats","retrievedAt":"2026-10-07T03:52:52Z","kind":"vendor"}]}],"evidence":[{"url":"https://gnuplot.sourceforge.net/","locator":"Command-driven plotting, platforms and output terminals","retrievedAt":"2026-10-07T03:52:52Z","kind":"vendor"}],"document":{"version":1,"references":[{"url":"https://sourceforge.net/p/gnuplot/gnuplot-main/ci/master/tree/Copyright","locator":"Usage permissions and patch-based redistribution of modifications","retrievedAt":"2026-10-07T03:53:59Z","id":"gnu-license","title":"gnuplot copyright","kind":"vendor"},{"url":"https://gnuplot.sourceforge.net/FAQ.pdf","locator":"Scripting, platforms and distinct non-GPL project license","retrievedAt":"2026-10-07T03:54:07Z","id":"gnu-faq","title":"gnuplot FAQ","kind":"vendor"},{"url":"https://gnuplot.sourceforge.net/","locator":"Command-driven plotting, platforms and output terminals","retrievedAt":"2026-10-07T03:52:52Z","id":"gnu-home","title":"gnuplot","kind":"vendor"},{"url":"https://gnuplot.sourceforge.net/docs_6.0/Gnuplot_6.pdf","locator":"Fit pp.108–114 and Save p.150: parameters, convergence and saved commands","retrievedAt":"2026-10-07T03:54:18Z","id":"gnu-manual","title":"gnuplot 6 manual","kind":"vendor"},{"url":"https://veusz.github.io/","locator":"Widget-based plotting, platforms and export formats","retrievedAt":"2026-10-07T03:52:52Z","id":"veusz-home","title":"Veusz scientific plotting","kind":"vendor"}],"overviewCitations":["gnu-home"],"licenseCitations":["gnu-license","gnu-faq"],"sections":[{"id":"workflow","heading":"Commands and output backends","paragraphs":[{"id":"workflow-detail","content":[{"text":"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."}],"citations":["gnu-home","gnu-faq"]}]},{"id":"reproducibility","heading":"Saving commands and data","paragraphs":[{"id":"reproducibility-detail","content":[{"text":"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."}],"citations":["gnu-manual"]}]},{"id":"analysis","heading":"Fitting and convergence","paragraphs":[{"id":"analysis-detail","content":[{"text":"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."}],"citations":["gnu-manual"]}]},{"id":"licensing","heading":"License and alternatives","paragraphs":[{"id":"licensing-detail","content":[{"text":"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 "},{"text":"Veusz","targetSlug":"veusz"},{"text":" 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."}],"citations":["gnu-license","gnu-faq","veusz-home"]}]}]},"id":"Q1102","revision":1150,"updatedAt":"2026-10-13T22:11:15Z","sourceUrl":"https://substitutefor.net/entities/Q1102?revision=1150"}}