[texworks] gnuplot does not generate .table files
Paul A Norman
paul.a.norman at gmail.com
Tue May 3 04:18:10 CEST 2011
That's great Ovi,
Thanks for sharing it - I've put this back in the thread for others to use...
>>
Paul,
I just figured it out.
The thing to do is to get texify to pass the switch to pdflatex. This is
done as :
--tex-option=--shell-escape
not just simplely --shell-scape.
<<
Paul
On 3 May 2011 02:59, sigmundv at gmail.com <sigmundv at gmail.com> wrote:
> It IS a \write18 issue, so you need to call pdflatex with --shell-escape.
>
>
> Sigmund
>
>
> On Sun, May 1, 2011 at 21:21, Ovi Chitayat <ovadia at pacbell.net> wrote:
>>
>> Hi,
>>
>> I have a simple gnuplot ‘plot’ command within a tikzpicture block as
>> follows
>>
>>
>>
>> \begin{tikzpicture}[domain=-5:5]
>>
>> \draw[arrows={-latex}] (-5,0) -- (6,0) node[below] {$x$};
>>
>> \draw[arrows={-latex}] (0,-1.2) -- (0,2.5) node[above] {$f(x)$};
>>
>> \draw[thick, color=blue, samples=100] plot[id=2] function{x} node[above]
>> {$f(x) = x$};
>>
>> \end{tikzpicture}
>>
>>
>>
>> This segment *IS* able to generate the <job>.2.gnuplot so I know gnuplot
>> does execute (not a \write18 issue).
>>
>> When I use the gnuplot interactive program (windows xp, gnuplot V 4.2
>> patch 4) and ‘load’ the
>>
>> <job>.2.gnuplot file, the corresponding <job>.2.table *IS* created in the
>> same directory that would have contained the file generated by my code.
>>
>>
>>
>> The set of packages used is
>>
>>
>>
>> \usepackage{verbatim}
>>
>> \usepackage{amsmath}
>>
>> \usepackage{amssymb}
>>
>> \usepackage[pdftex]{graphicx}
>>
>> \usepackage{tikz}
>>
>> \usepackage[americaninductor]{circuitikz}
>>
>>
>>
>> I have searched long and wide and could not find a clue.
>>
>> Please help.
>>
>> Ovi
>
More information about the texworks
mailing list