Gnuplot is a portable command-line driven graphing utility. This example will show how to setup gnuplot in the various platforms.
Download the latest version of the installer from gnuplot site.
Run the downloaded file and allow it to run as administrator if requested
On the setup window select the language and follow the instructions on screen.
(optional) During the installation you may select the gnuplot to be added to the PATH that will allow you to run commands from anywhere on the command line. If you choose not to do so you may add it manually later or cd
to the gnuplot installed directory prior to running commands.
The default installation location of gnuplot on Windows is C:\Program Files (x86)\gnuplot
NOTE: the filename will be of the format: gp<version>-win32-mingw.exe
The installation on Linux can be done through the different package managers as follows.
$ sudo pacman -S gnuplot
$ sudo apt-get update
$ sudo apt-get install gnuplot
$ sudo yum check-update
$ sudo yum install gnuplot
$ sudo dnf check-update
$ sudo dns install gnuplot
$ brew install gnuplot
$ sudo port install gnuplot