Gnuplot.jl/docs/src/install.md
Giorgio Calderone 509d8c471e Docs updated
2020-03-25 14:50:43 +01:00

753 B

Installation

Prerequisite

In order to use the Gnuplot.jl package you'll need gnuplot (ver. >= 4.7) installed on your system, and its executable available in your path.

If gnuplot is not available in your platform you can still use Gnuplot.jl in "dry" mode (see Dry sessions). In this case a plot can not be generated, but you may still generate Gnuplot scripts.

Package installation

In the Julia REPL type:

julia> ]add Gnuplot

Then hit backspace key to return to Julia REPL.

Check installation

Check execution and version of the underlying gnuplot process:

using Gnuplot
Gnuplot.gpversion()

Generate the first plot:

julia> @gp 1:9