<!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>At 19:46 +0100 11/9/08, Peter Vamos wrote:</div>
<div><br></div>
<blockquote type="cite" cite>OK, I installed gnuplot-4.2.3 precisely
as per</blockquote>
<blockquote type="cite" cite>Vic Norton's instructions at 16:20 -0400
14/8/08:</blockquote>
<div><br></div>
<div>[snip]</div>
<div><br></div>
<blockquote type="cite" cite>Unfortunately gnuplot crashes immediately
after launching,</blockquote>
<div><br>
[snip]<br>
</div>
<blockquote type="cite" cite>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,</blockquote>
<blockquote type="cite" cite><br></blockquote>
<blockquote type="cite" cite>Can anyone help please?</blockquote>
<div><br>
<br>
</div>
<div><x-tab>       
</x-tab><x-tab>       
</x-tab>"The Log helps those who help themselves"</div>
<div>I am happy to report that I now have a functioning gnuplot.</div>
<div><br></div>
<div>No response on how to repair my "Octave.app for Mac OS X"
install referred to above but I received a number of suggestions for a
different install.</div>
<div><br></div>
<div>From Google and Peter Lichtner: Fink, MacPort/DarwinPort. I
decided against these mainly because they need their own installer and
this may mess up my functioning path, profile etc. as we've just seen
in a different thread.</div>
<div><br></div>
<div>Kai Kratt and Alain Schremmer pointed me to an `incubator' site
offering an unofficial precompiled  but not quite up-to-date
version.</div>
<div><br></div>
<div>Finally Jean-Claude DE SOZA told me that my current install
couldn't work with TikZ anyway and urged me to get the real thing and
compile, Soumya Dipta reporting both a success and failure with this
and Axel Retif pointing out the important workaround. Thank you
all.</div>
<div><br></div>
<div>I decided to take this last route and delete my current copy but
on a whim decided to have a last throw with the dice with my current
set-up, remembering the line in the error log</div>
<div><x-tab>        </x-tab>dyld:
Library not loaded: /usr/X11R6/lib/libXpm.4.dylib</div>
<div>referring to X11. So I installed X11 from the Apple install disc,
double clicked on gnuplot and lo and behold it launched OK! Next
checked TikZ examples needing gnuplot, all fine, then tried the demos
for gnuplot these were showing up OK in AquaTerm, this being the
default viewer for this install. (Well almost, the 3d plots were not
rendered well but I think that there was a warning about this re
AquaTerm somewhere.)</div>
<div><br></div>
<div>So I would definitely recommend this method and reproduce Vic
Norton's guide but prepend steps -1 and 0 to it:</div>
<div><br></div>
<blockquote>-1. If you haven't done it yet, install X11 from the
system install disc</blockquote>
<blockquote> 0. Install AquaTerm
from<x-tab>      
</x-tab><x-tab>       
</x-tab>   </blockquote>
<blockquote>  
<http://sourceforge.net/project/showfiles.php?group_id=39915&t<span
></span>ype=1></blockquote>
<blockquote> 1. go to <<a
href="http://octave.sourceforge.net/">http://octave.sourceforge.net/</a
>></blockquote>
<blockquote> 2. click on the "Octave.app for Mac OS X"
link</blockquote>
<blockquote> 3. download the appropriate "2008-04-26 binary
of Octave 3.0.1"</blockquote>
<blockquote> 4. open the resulting DMG file</blockquote>
<blockquote> 5. open the gnuplot-4.2.3 DMG the Extras
folder</blockquote>
<blockquote> 6. drop Gnuplot.app into your applications
folder</blockquote>
<blockquote> 7. go to /usr/local/bin in terminal and
do</blockquote>
<blockquote> 8. $ sudo ln
-sf        <x-tab
>      
</x-tab><x-tab>       
</x-tab><x-tab>       
</x-tab></blockquote>
<blockquote><x-tab>       
</x-tab
>"/Applications/Gnuplot.app/Contents/Resources/bin/gnuplot<span
></span>"</blockquote>
<blockquote><br></blockquote>
<div>Jean-Claude please note: this _does_ work with TikZ. For those
who don't like Terminal, you can do the symlink (steps 7. and 8.) in
the finder by the contextual menu plug-in</div>
<div><br>
<x-tab>       
</x-tab
><http://seiryu.home.comcast.net/~seiryu/symboliclinker.html></div
>
<div><br></div>
<div>I mentioned in another thread.</div>
<div><br></div>
<div>Peter</div>
<div><br></div>
<div>PS Just noticed the buried in the Read-me is the requirement for
X11, so I should have RTFM.</div>
</body>
</html>