Alain,
Thanks, I have tried this, and it compiles without errors, but gives a blank pdf.
Looking at the log file I see a warning:
Package pgf Warning: Plot data file `pgfplot5.sin.table' not found. on input li ne 6.
I shall have a go at sorting the links out, but I'm a bit out of my depth with this, and,
as you suggested, I have asked on the TextMate forum as it looks like a Mac/path issue.
Thanks again,
Graham
2008/9/2 Alain Matthes alain.matthes@mac.com:
Le 2 sept. 08 à 09:31, Graham Smith a écrit :
I have run pdflatex --shell-escape PDFPlotTrial2.tex from terminal (which seemed to work as I got pages of text appearing with no obvious error messages) and I have upgraded to version 2 of pgf. GNUPlot was installed with fink and runs OK from typing gnuplot in terminal.
I am now stuck, and no idea what to try next. I am pretty new to this so it could well be something so obvious that no one is suggesting it. Can anyone help.
Hi
I don't have "pgfplots" on my computer and the first thing it's to to make a try with a simple example with only TikZ. For example
8<------8<------8<------8<------8<------8<------8<------8<------8<------ \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \draw[color=blue] plot[id=sin,domain=0:6,samples=100] function{sin(x)}; \end{tikzpicture} \end{document} 8<------8<------8<------8<------8<------8<------8<------8<------8<------
If there is a problem with gnuplot, I think that the problem is a "PATH" problem.
I don't like the "fink" solution, I prefer to compile gnuplot from the sources. You can make a symbolic link in /usr/local/bin/ through gnuplot in the /sw directory (i don't know the exact folder) with "ln -s etc ..." If my answer is not correct and if you want more explanations, the better place is the mac OS TEX list (macosx-tex) if you work with TexShop or Itexmac. You have also the TexMate List if you work with TexMate.
Best Regards
Alain
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate