Friday 16 April 2010

Installing Octave on Mac OS X

GNU Octave is a freeware alternative to Matlab which I have been curious about for some time now. I decided to try it out on my iMac, and downloaded it from Octave-Forge. At its core, Octave is a command-line program, but it uses GNUPlot for plotting figures. However, having installed both, I found that entering commands like

figure

or

plot(x,y)


had no effect at all. It seems that in order to work on Mac OS X, these two programs shuld be "glued together" by a third program called AquaTerm, which can be downloaded here. Having installed this, I am now able to make plots like the one below. Nice, eh? :-)

0 comments:

Post a Comment