Integrating Octave with OS X
This page is devoted to OS X specific tweaks to octave, such as native (non-X11) display of plots and images through modifications of script files. Features in octave require a little more porting effort to integrate seemlessly with OS X are discussed on the page MacOSXPorting.Native plot display
To have native graphics windows (i.e. Aqua instead of X11) you need gnuplot compiled with support for AquaTerm, [1]. Gnuplot 4.x automatically builds an aqua terminal if AquaTerm 1.0 or later is installed.Native image display
By grabbing a modified image.m[2] file from octave-forge, images will be displayed by your OS X viewer of choice (default is Preview.app). This version of image.m relies on bmpwrite.m, also from OctaveForge, whereas previous versions depended on the utility 'convert' from ImageMagick.A precompiled version of ImageMagick is available here [3].
To install ImageMagick follow these steps:
- Unpack it: gnutar xvzf ImageMagick-powerpc-apple-darwin6.4.tar.gz
- Change to IM directory: cd ImageMagick-5.5.6
- Copy it into /usr/local: sudo cp -R * /usr/local/.