[OS X TeX] How to plot functions with PGF and TeXShop ?

Peter Lichtner lichtner at lanl.gov
Sun Jan 15 13:32:09 EST 2006


The problem may be that one needs to call gnuplotx rather than  
gnuplot. In a gnuplot script using the fink installation:

#!/sw/bin/gnuplotx -persist

The gnuplot command /sw/bin/gnuplot is the shell script:

#!/bin/sh
export AQUATERM_PATH=/sw/Applications/AquaTerm.app
case ${DISPLAY-0} in
0) export GNUTERM=aqua ;;
esac
/sw/bin/gnuplotx "$@"

...Peter

On Jan 15, 2006, at 10:49 AM, Franck Pastor wrote:

> I agree, and that's what I did.
>
> Franck
>
> Le 15-janv.-06 à 18:46, Peter Lichtner a écrit :
>
>> Best is to install gnuplot from fink.
>> ...Peter
>>
>> On Jan 15, 2006, at 10:44 AM, Herbert Schulz wrote:
>>
>>>
>>> On Jan 15, 2006, at 4:44 AM, Franck Pastor wrote:
>>>
>>>> Hello,
>>>>
>>>> I'm facing a strange problem with PGF (a package for drawings,  
>>>> by Till Tantau, that I am currently testing) and TeXShop. This  
>>>> package needs and calls Gnuplot to plot functions. To do this,  
>>>> you have to call pdflatex with the option "shell-escape". Here  
>>>> is an example:
>>>> ...
>>>
>>> Howdy,
>>>
>>> Is there a recent binary distribution of Gnuplot for Mac OS X?
>>>
>>> Good Luck,
>>>
>>> Herb Schulz
>>> (herbs at wideopenwest.com)
>>>
>>>
>>> ------------------------- Info --------------------------
>>> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
>>>          & FAQ: http://latex.yauh.de/faq/
>>> TeX FAQ: http://www.tex.ac.uk/faq
>>> List Archive: http://tug.org/pipermail/macostex-archives/
>>>
>>
>> <><><><><><><><><><><><><><><><><><><><><>
>> Peter C. Lichtner (lichtner at lanl.gov)
>> LANL EES-6: MS D469
>> (505) 667-3420 (o)
>> (505) 665-3285 (fax)
>> Los Alamos National Laboratory
>> SM-30 Bikini Atoll Road
>> Los Alamos, NM 87545
>> <><><><><><><><><><><><><><><><><><><><><>
>>
>>
>>
>> ------------------------- Info --------------------------
>> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
>>          & FAQ: http://latex.yauh.de/faq/
>> TeX FAQ: http://www.tex.ac.uk/faq
>> List Archive: http://tug.org/pipermail/macostex-archives/
>>
>
> ------------------------- Info --------------------------
> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
>          & FAQ: http://latex.yauh.de/faq/
> TeX FAQ: http://www.tex.ac.uk/faq
> List Archive: http://tug.org/pipermail/macostex-archives/
>

<><><><><><><><><><><><><><><><><><><><><>
Peter C. Lichtner (lichtner at lanl.gov)
LANL EES-6: MS D469
(505) 667-3420 (o)
(505) 665-3285 (fax)
Los Alamos National Laboratory
SM-30 Bikini Atoll Road
Los Alamos, NM 87545
<><><><><><><><><><><><><><><><><><><><><>



------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the MacOSX-TeX mailing list