Important notice!

The information here is getting old and since I don't have the time to update it,
I will retire this site.
Whatever is on these pages will be left for reference.

Matlab replacement corner

Info: A set of files and apps to replace Matlab functionality under OS X. 
Screenshots: [1] 
Installation on OSX: Work in progress, updated 2002-01-03
Remember: please add your own contributions to this page. 

Tweaks to get an all-Aqua Octave running under OS X

  • Extension directory
    I'd recommend that you put a folder named Octave in ~/Library/ where you put all octave extras. This will prevent things from getting screwed up when upgrading octave etc. In order for octave to find the files, add the following line to your ~/.octaverc file (create one if neccessary):
    LOADPATH = [ '~/Library/Octave/m//:', LOADPATH ];

  • Bitmap display
    To display bitmap images in your preferred (tiff-)viewer, which by default is Preview.app,
    you need to install "convert" from the TexShop page and place the file image.m in
    ~/Library/Octave/m/image/
    This will have effect on the following commands in octave: image, imshow, imagesc

  • Graphic display
    Get AquaTerm and follow the instructions for recompiling GNUPlot 3.8
    NB. If you get gnuplot 3.8 via Fink this will be taken care of automagically.
    Unless you place Aquaterm in /Applications or ~/Applications add the following line to your .cshrc file:
    setenv GNUTERMAPP /path/to/my/AquaTerm.app
    If you want it to be the default terminal, also add
    setenv GNUTERM aqua
    to the .cshrc file
    Place the file figure.m in ~/Library/Octave/m/plot/
    This will have effect on all plotting commands in octave except the three above.

  • Matlab compatibility
    For now, check out OctaveForge which has a lot of useful info. If you have built octave with dynamic linking most of the OctaveForge code compiles right away.
    A good place for installing would be in ~/Library/Octave/ and add the following to ~/.octaverc:
    LOADPATH = [ '~/Library/Octave/m//:~/Library/Octave/octave-forge/oct:~/Library/Octave/octave-forge//:', LOADPATH ];
    EXEC_PATH = [ '~/Library/Octave/octave-forge/bin:', EXEC_PATH ];

  • Other stuff
    You might like to add
    page_screen_output = 0;
    to that ~/.octaverc file too;-)