[texworks] gnuplot does not generate .table files
sigmundv at gmail.com
sigmundv at gmail.com
Mon May 2 16:59:08 CEST 2011
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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texworks/attachments/20110502/f914b2fc/attachment.html>
More information about the texworks
mailing list