I'm using pdfLatex (with --shell-escape
option) and I had a problem of compilation with TexWorks that was successfully solved with the help of other post in this site: bodegraph on Ubuntu 10.04.
After correcting that error the code compiles smoothly but just displays the logarithmic grids, not the function. The gnuplot files are created in the right place, but the graphic doesn't come out in the PDF.
Code from Martin Scharrer’s asnwer:
\documentclass{article}
\usepackage{tikz}
\usepackage{bodegraph}
\begin{document}
\begin{tikzpicture}[
gnuplot def/.append style={prefix={}}, % Fixed the issue (prefix was 'gnuplot/\jobname/' before)
]
\begin{scope}
\UnitedB
\semilog{-1}{2}{-50}{60}
\BodeAmp{-1:1.35}{\POAmpAsymp{4}{2.0}+\IntAmp{1}}
\end{scope}
\end{tikzpicture}
\end{document}
Any clues?