[OS X TeX] GNUPLOT on Mac

Peter Lichtner lichtner at lanl.gov
Thu Sep 11 21:59:28 CEST 2008


On Sep 11, 2008, at 1:20 PM, Jean-Claude DE SOZA wrote:

> Bonsoir,
>
> Le 11 sept. 08 à 20:46, Peter Vamos a écrit :
>
>> 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
>
> If you want to use gnuplot with tikz, you need to install it from  
> source and not like above.
> You don't need X11.
> I recommand you to read all the thread about "GNUPLOT on Mac" on the  
> list. I explained how to install gnuplot.
>
> Jean-Claude DE SOZA

You can also install it from Fink which is what I have done:

	G N U P L O T
	Version 4.2 patchlevel 3
	last modified Mar 2008
	System: Darwin 9.4.0

Only you need to use the unstable branch to get the latest version.
...Peter


----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: http://www.esm.psu.edu/mac-tex/list/
List Archive: http://tug.org/pipermail/macostex-archives/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex


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


More information about the macostex-archives mailing list