[texworks] gnuplot does not generate .table files

Ovi Chitayat ovadia at pacbell.net
Sun May 1 22:21:52 CEST 2011


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/20110501/69d98472/attachment.html>


More information about the texworks mailing list