Gnuplot on Mac OS X

From Nuclear Physics Group Documentation Pages
Jump to navigationJump to search

Gnuplot

  • The documentation for gnuplot is found here: Gnuplot Manual (Sourceforge dowload)
  • Gnuplot tutorial: [1]

Gnuplot for Mac OS X Snow Leopard

This is version 4.4.0 release candidate 1.

I compiled Aquaterm and Gnuplot on Snow Leopard as a Universal Binary (i386, x86_64) (the Aquaterm also has ppc, the gnuplot does not.) I tested these in 64-bit and 32-bit mode on my system running 10.6.2. Note that if you run gnuplot in 32-bit mode you also need to run Aquaplot in 32-bit mode or you will not get any output. To run Aquaterm in 32-bit mode on a 64-bit cpu, click on "Open in 32-bit mode" in the "Info Panel" (right click or control-click the executable and select "Get Info").

To install down load Aquaterm.zip, unzip it (double click) and then and place the Aquaterm.app in /Applications/. Next download Aquaterm_Framework.zip, unzip it, and place the Aquaterm.Framework in /Library/Frameworks/. Finally download gnuplot.zip, unzip it and place "gnuplot" executable in /usr/local/bin/. If you want to compile agains Aquaterm you may want to make links:

If you want to compile agains Aquaterm you may want to make links:

 ln -s /Library/Frameworks/AquaTerm.framework/Versions/A/AquaTerm /usr/local/lib/libaquaterm.dylib
 ln -s /Library/Frameworks/AquaTerm.framework/Versions/A/AquaTerm /usr/local/lib/libaquaterm.1.0.0.dylib
 mkdir /usr/local/include/aquaterm/
 ln -s /Library/Frameworks/AquaTerm.framework/Versions/A/Headers/AQTAdapter.h /usr/local/include/aquaterm/
 ln -s /Library/Frameworks/AquaTerm.framework/Versions/A/Headers/aquaterm.h /usr/local/include/aquaterm/