Tools · gnuplot

Online gnuplot editor

Paste a gnuplot script and get the plot back without installing anything. Functions, parametric curves, 3D surfaces with splot and inline data blocks all work; download the result as SVG or PNG.

See the examplesHave Forma write one

Or describe it in words and get source you can edit, checked before you see it.

Part of Forma Visuals: Chart your data · For students and scientists

⌘ or Ctrl + Enter draws. Sent to Forma's renderer, which keeps nothing
loadingStarting the renderer…

Histogram Sixty exam scores, one per line in a data block, counted into five-mark bins with a bin() function and smooth freq, then drawn with boxes. The usual way to make a histogram in gnuplot.

In your browser, drawn with Plotly.js (MIT), Apache ECharts (Apache-2.0, notice), Chart.js (MIT).

01 Examples

gnuplot examples to start from.

02 About gnuplot

What gnuplot is good for.

gnuplot is a command-line plotting program that has drawn scientific graphs since 1986. A few lines describe a plot of a function, a data file or a surface, which is why it is still a favourite for papers, lab notes and quick looks at data.

What about set terminal and set output?

The renderer chooses the terminal itself and draws to SVG, so lines such as set terminal pngcairo and set output are ignored; set terminal svg size W,H is kept, so a script can still set its size.

Can it read my data file?

Not from disk. Put the data inline in a data block ($data << EOD … EOD) and plot $data, as in the histogram example.

Are system commands available?

No. The script runs in a sandbox with no shell, no network and no access to files outside its own folder, and nothing you send is kept.