Jump to navigation Jump to search
190 bytes added ,  04:44, 10 April 2012
Capitalize Gnuplot, and caution about replacing /usr/local/{octave,gnuplot}
The latest MacOS X binary (DMG) available is for Octave-3.4.0. Click on this [ link] to download.
Once it has been downloaded, double-click on the dmg to mount the disk image. It is recomended that gnuplot Gnuplot is installed prior to Octave.
= Install gnuplot & Aquaterm =
NOTE: The following instructions are for the gnuplot Gnuplot in the 'Extras' folder, which DOES NOT WORK, due to some library version issues. Instead you could install a gnuplot Gnuplot binary from Or you could try using MacPorts to install gnuplotGnuplot.
Look in the 'Extras' folder and find the gnuplot-4.4.3-aqua-i386.dmg disc image. Double-click this dmg to mount the gnuplot disk image.
On this disk is the OS X binary for gnuplotGnuplot. The gnuplot Gnuplot package includes and relies on Aquaterm for displaying plots using [ Apple's Quartz graphics layer]. Alternatively, X11 can be used. However, the pleasant anti-aliasing features of Quartz will are not included with X11 on MacOS X.It is unclear how to tell gnuplot Gnuplot whether to use X11 or Aquaterm.
Move the 'gnuplot' icon to your Applications folder. For purpose of this discussion - this is assumed to be /Applications. If you are using a local Applications folder (/~/Applications) appropriate modification of the paths specified below will be necessary.
This gnuplot Gnuplot application includes Aquaterm. It is located at /Applications/ If you need it for some other application, this is the path that will find it. But don't move it to the upper level of the Applications folder, or else gnuplot Gnuplot will not know where to find it.
= Install Octave =
Move the 'Octave' icon from the first .dmg to the Applications folder (/Applications).
Now you have everything you need to run Octave, gnuplotGnuplot, and Aquaterm. You can put the Octave and gnuplot Gnuplot icons in the dock and either will open in a terminal window with a simple 'click'. To test Octave, click its icon, and the Octave prompt should appear in a new terminal window along with some splash screen information. Then type 'sombrero(24)' at the Octave prompt and after a while aquaterm will open and the multicolor sombrero plot should appear.
= Running Octave and gnuplot Gnuplot from a Terminal =
These instructions assume you have already placed Octave and Gnuplot into the Applications folder.
Starting Octave from the command line requires one further step to inform bash (your shell) where the Octave binary is located. This is accomplished through the bash initialization file ~/.bashrc (the leading "." means it's normally invisible in the finder). To run Octave and gnuplot Gnuplot from a terminal, symbolic links will be used. The symbolic links will be placed in /usr/local/bin. It is a good idea to verify that neither /usr/local/bin/gnuplot or /usr/local/bin/octave already exist there, as they will be replaced.
* Open a new terminal window, and enter the commands below.
** In a Terminal window type the command below.
*** {{Codeline|octave}}
** Octave should now be running. To test gnuplot Gnuplot / Aquaterm, try a plot.
*** {{Codeline|sombrero ()}}


Navigation menu