[OS X TeX] GNUPLOT on Mac

Peter Vamos P.Vamos at exeter.ac.uk
Thu Sep 11 20:46:04 CEST 2008


OK, I installed gnuplot-4.2.3 precisely as per
Vic Norton's instructions at 16:20 -0400 14/8/08:

>OK. Here is a really oddball way to install gnuplot-4.2.3 in 
>/usr/local/bin on a Mac---but it will work.
>
>1. go to <http://octave.sourceforge.net/>
>2. click on the "Octave.app for Mac OS X" link
>3. download the appropriate "2008-04-26 binary of Octave 3.0.1"
>4. open the resulting DMG file
>5. open the gnuplot-4.2.3 DMG the Extras folder
>6. drop Gnuplot.app into your applications folder
>7. go to /usr/local/bin in terminal and do
>8. $ sudo ln -sf "/Applications/Gnuplot.app/Contents/Resources/bin/gnuplot"

Checked everything is in place including the link

>You are done. Now gnuplot-4.2.3 can be opened by double-clicking 
>Gnuplot.app in your application folder or by starting a gnuplot 
>script with the shebang line
>
>	#!/usr/local/bin/gnuplot

Unfortunately gnuplot crashes immediately after launching, by either 
of the methods above, reporting that

exec '/Applications/Gnuplot.app/Contents/Resources/bin/gnuplot'
dyld: Library not loaded: /usr/X11R6/lib/libXpm.4.dylib
   Referenced from: 
/Applications/Gnuplot.app/Contents/Resources/bin/gnuplot-4.2.3
   Reason: image not found
/Applications/Gnuplot.app/Contents/Resources/bin/gnuplot: line 75: 
1675 Trace/BPT trap          GNUTERM="${GNUTERM}" 
GNUPLOT_HOME="${GNUPLOT_HOME}" PATH="${PATH}" 
DYLD_LIBRARY_PATH="${DYLD_LIBRARY_PATH}" HOME="${HOME}" 
GNUHELP="${GNUHELP}" DYLD_FRAMEWORK_PATH="${DYLD_FRAMEWORK_PATH}" 
GNUPLOT_PS_DIR="${GNUPLOT_PS_DIR}" DISPLAY="${DISPLAY}" 
GNUPLOT_DRIVER_DIR="${GNUPLOT_DRIVER_DIR}" 
"${ROOT}/bin/gnuplot-4.2.3" "$@"
I don't have X11 installed, I read somewhere that AquaTerm is enough 
so I downloaded that.Running 10.5.4 on an Intel Mac. The main reason 
I want gnuplot is that I want to use Tikz for plotting functions,

Can anyone help please?

Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/macostex-archives/attachments/20080911/25c4afbd/attachment.html>


More information about the macostex-archives mailing list