<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
--></style><title>Re: [OS X TeX] GNUPLOT on Mac</title></head><body>
<div>OK, I installed gnuplot-4.2.3 precisely as per</div>
<div>Vic Norton's instructions at 16:20 -0400 14/8/08:</div>
<div><br></div>
<blockquote type="cite" cite>OK. Here is a really oddball way to
install gnuplot-4.2.3 in /usr/local/bin on a Mac---but it will
work.<br>
<br>
1. go to <http://octave.sourceforge.net/><br>
2. click on the "Octave.app for Mac OS X" link<br>
3. download the appropriate "2008-04-26 binary of Octave
3.0.1"<br>
4. open the resulting DMG file<br>
5. open the gnuplot-4.2.3 DMG the Extras folder<br>
6. drop Gnuplot.app into your applications folder<br>
7. go to /usr/local/bin in terminal and do<br>
8. $ sudo ln -sf
"/Applications/Gnuplot.app/Contents/Resources/bin/gnuplot<span
></span>"</blockquote>
<div><br></div>
<div>Checked everything is in place including the link<br>
</div>
<blockquote type="cite" cite>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<br>
<x-tab> </x-tab><br>
<x-tab>
</x-tab>#!/usr/local/bin/gnuplot</blockquote>
<div><br></div>
<div>Unfortunately gnuplot crashes immediately after launching, by
either of the methods above, reporting that</div>
<div><br></div>
<blockquote>exec
'/Applications/Gnuplot.app/Contents/Resources/bin/gnuplot'</blockquote
>
<blockquote>dyld: Library not loaded:
/usr/X11R6/lib/libXpm.4.dylib</blockquote>
<blockquote> Referenced from:
/Applications/Gnuplot.app/Contents/Resources/bin/gnuplot-4.2.3</blockquote
>
<blockquote> Reason: image not found</blockquote>
<blockquote>/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" "$@"</blockquote>
<div>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,</div>
<div><br></div>
<div>Can anyone help please?</div>
<div><br></div>
<div>Peter</div>
</body>
</html>