![]() the list goes on.Installing Octave on OSX with MacPorts Sunday, NovemAnd I also set the GNUTERM environment variable: export PATH=/usr/local/bin:$PATHĬheck out many useful packages, a nice new Python not Apple's old v2.7, a nice Linux-compatible sed not Apple's BSD version, a nice grep, a nice find, the brilliant GNU awk, ImageMagick, tmux, GNU Parallel, jhead, Poppler, exiftool, Mosquitto, pdfgrep, pngcrush, ZeroMQ. Mac OSX 10.6.8 Octave / GnuPlot / Aquaterm installation meltdown Help Well, I didnt really see myself using vi on Halloween this year, but here we go. Most of the time, installing things with MacPorts is pretty easy however, I have found that GNU Octave can be a little tricky. That being said, it's still pretty easy to get Octave up and running in both Snow Leopard and Lion.Īt the time of this post, here's two version of Octave to choose from: octave (version 3.2.4) and octave-devel (version 3.4.3). In my brief testing with the two, the biggest difference for me was that the graphs plotted in octave-devel looked more like their OS counterparts. With octave, I found the scaling of elements on the graph to be different sizes and that bugged me. To install Octave, run the following from the terminal: sudo port install octave-devel +gcc45Īnd then wait.as there are a lot of things that need being compiled. AquaTerm is a Cocoa application that can display vector graphics in an. I added the gcc45 variant because one of the dependencies, atlas, needs gcc45 to compile. assuming that you have installed both XFree86 and AquaTerm, you can build gnuplot. To get a full list, run: port variants octave-devel This ensures that both of those are in sync.įeel free to add other variants if you like, like X11 support or offline documentation. When you install Octave via MacPorts, AquaTerm also gets installed. AquaTerm is basically a vector renderer which Octave can use to plot its graphs. I like AquaTerm because the graphs look really smooth and nice, like you would expect on a Mac :) Double-click to mount the downloaded disk image. Inside the mounted disk image, double click on the AquaTerm.pkg file to install AquaTerm. ![]() ![]() Agree to the license and follow the prompts to install AquaTerm in your 'Applications' folder. To install at default locations: 1) Drag AquaTerm.app to /Applications 2) Drag amework to /Library/Frameworks 3) If you wantsome backwards compatibility, symlinks could be placed from /usr/local/lib/libaquaterm. If you have installed the X11 variant, you can also choose to do the rendering from within X11. The way you control this is through the environment variable, GNUTERM. Set GNUTERM to x11 when you want to do your graphing in X11 and set GNUTERM to aqua when you want to do your graphing in AquaTerm. You can read more about setting environment variables on StackOverflow. If you are running Octave and wish to change the GNUTERM there, you can do so with the setenv function, like so.
0 Comments
Leave a Reply. |