Installing Octave

From AIMSWiki

Mac OS X

  1. Install Octave
    • Octave for OS X can be downloaded from Sourceforge (http://sourceforge.net/projects/octave/files/Octave%20MacOSX%20Binary).
  2. Install Gnuplot
    • Gnuplot can be downloaded from this link (http://www.miscdebris.net/upload/gnuplot-4.2.5-i386.dmg).
    • Once Gnuplot and Octave are both installed, you will need to tell Octave where Gnuplot is located. Do this by executing the following (in Octave):
gnuplot_binary("/Applications/gnuplot.app/Contents/Resources/bin/gnuplot");

The following steps are optional.

  1. Install Aquaterm
    • Without Aquaterm, Gnuplot uses the X11 window system. However, if Aquaterm is installed and running, Gnuplot will use it instead, making the graphs prettier and easier to use.
    • Aquaterm can be downloaded from Sourceforge (http://sourceforge.net/projects/aquaterm/files/).
    • Note that Aquaterm.app must be running for this to work.
  2. Install qtOctave
    • Without qtOctave, Octave runs in Terminal with a command line interface. qtOctave is a GUI for Octave.
    • qtOctave can be downloaded from this page (http://sites.google.com/site/davidecittaro/software).
    • qtOctave requires the QT framework to run. QT can be downloaded from this page (http://qt.nokia.com/).
    • The first time you run qtOctave, it will ask you for the location of the Octave executable. Assuming you installed Octave in your Applications folder, you will need to type in this path:
/Applications/Octave.app/Contents/Resources/bin/octave