I have been trying to get the tex package bodegraph working on my Ubuntu 10.04 machine. First off since Ubuntu ships with Texlive 2009 I had to uninstall the default version and manually install Texlive 2011.
I was then able to get bodegraph
to output semilog grid lines, labels, and the like. The problem is when I try to actually plot a transfer function, and bodegraph
has to use gnuplot
. I get an error saying:
! I can't write on file `gnuplot/test/1.gnuplot'.
test.tex
is the name of my input file and I am using pdflatex
. I have a suspicion that this has something to do with pdflatex
not having the permissions to run gnuplot
or to write temp files where it wants to, but I have no clue where to start digging in.
Does anyone have any experience with bodegraph
on Ubuntu, or have seen this problem before
EDIT - Include MWE
\documentclass[10pt]{article}
\usepackage{tikz}
\usepackage{bodegraph}
\usetikzlibrary{intersections}
\usetikzlibrary{calc}
\usetikzlibrary{positioning}
\usepackage[active,tightpage]{preview}
\PreviewEnvironment{tikzpicture}
\begin{document}
\begin{tikzpicture}[>=latex',
ref lines/.style={thin,blue!60},
ref points/.style={circle, black, opacity=0.7, fill, minimum size= 3pt, inner sep=0},
every node/.style={font=small},
bode lines/.style={very thick, blue},
Gclabel/.style={text=blue},
xscale=12/3]
\begin{scope}[yscale=4/110]
\UnitedB
\semilog{-1}{2}{-50}{60}
% Breaks When The Following Line Is Added
\BodeAmp[ref lines, red!60]{-1:1.35}{POAmpAsymp{4}{2.0}+IntAmp{1}}
\end{scope}
\end{tikzpicture}
\end{document}
pdflatex
using-shell-escape
? This is required to run shell commands.pdflatex
with the-shell-escape
argument and I still receive the same error.test.tex
or of thebodegraph
package?