
Update, 9 August 2017 Since this article was written about two years ago a new version of gnuplot has been released, as have two new versions of macOS. Specifically, the above two steps replace steps 7 and 8 in the main article below.
BREW UPDATE XQUARTZ INSTALL
sudo port install gnuplot +qt5 + x11 +aquaterm +wxwidgets will install gnuplot with QT5, x11, AquaTerm and WXT.Ĭlick here to skip older updates and go to the main (legacy) article which runs you through XCode, GCC etc. Install gnuplot with required terminals e.g.Check what terminals are available (optional) with sudo port variant gnuplot.Install MacPorts by picking a suitable package on their installation page.

Thankfully MacPorts still supports a robust full gnuplot installation which makes me change my recommendation from ‘always install Homebrew’ to ‘always install both Homebrew and MacPorts’. This makes this a little inconvenient, not to mention useless. Update, 6 December 2019 Since this article was written about five years ago Homebrew has changed its gnuplot installation system and does not allow picking terminals. At a time when installing games take a two clicks, it simply is not straightforward to install gnuplot.Īfter scratching my head over it for two days straight, I finally installed gcc, gnuplot, Octave and LaTeX on my new Mac (OS X 10.10.3, Yosemite) and decided to note some points/instructions down here for anyone else looking for a simple solution from start to finish contained in one place. However, it turns out that installing gnuplot (or Octave, for that matter - but let us leave that for another day) on a Mac is a pain in the neck.

Hardly anyone has gone through a college mathematics or physics course without meeting the wonderful gnuplot.
