I have tried to write "%& -shell-escape ", also " -enable-write18 " and " %& -shell-escape -enable-write18 " on the top of ducument. Maybe if the else who have same problem can use this way.Īfter success in Vista, I tried to use the same solution for Microsfot XP SP2, with Miktex 2.7 and Texmaker 1.8. my computer configuration: MS Vista SP1, Miktex 2.7 and Texmaker 1.8, installed with pgf/tikz and gnuplot
Using -shell-escape and -enable-write18 works for me but puttingĪt the top of the document does not work. The axis is shown, but line curve line isnot shown after compillation. Please inform me, as i am windows user only.
#GNUPLOT LINE TYPE HOW TO#
How to know that my gnuplot has working or not.
#GNUPLOT LINE TYPE INSTALL#
I also have same problem, i have install gnuplot this in vista. The ".gnuplot" file(s) are correctly written in the aux directory, but are not correctly passed through gnuplot to generate the ".table" file(s). The automatic gnuplot function doesn't work if -aux-directory is set. You can also enable shell escape by putting the following line at the top of your document: To enable shell escapes with '-shell-escape' or '-enable-write18'?" For the sake of others who neglect the instructions, I would suggest a more detailed error message, like "Plot data file `#1' not found. I suffered from the same error for a while, found the offending write18 command in, thought, "They should really point out in the documentation that you need to enable shell escapes," and then felt really dumb after seeing it was there all along. If that still doesn't work, a horrible workaround is to run latex, run gnuplot by hand ("gnuplot *.gnuplot"), and then run latex again. Also, despite the instructions above, the latex documentation tells me to use -shell-escape, not -shell-escape, though it seems to accept both.) (I get the same error if I put -shell-escape after the filename. Try putting the filename after -shell-escape: #2 Kjell Magne Fauske, Januat 11:58 Have you checked that gnuplot is available? Try typing gnuplot at the command line.Package pgf Warning: Plot data file `' not found. Package pgf Warning: Plot data file `index.x.table' not found. I'm trying to use this code but I get error messages: