How can be plotted a transfer function in a bodeplot. I just installed the bodegraph package, and have the "paper" already done but I dont understand the format to input the transfer function, I dont know what is missing.
The MWE
\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}[xscale=10/3,yscale=10/110]
\UnitedB
\tikzset{
semilog lines/.style={thin, blue},
semilog lines 2/.style={semilog lines,
red!50 },
semilog half lines/.style={semilog lines 2,
dotted },
semilog label x/.style={semilog lines,
below,font=\tiny},
semilog label y/.style={semilog lines,
right,font=\tiny}
}
\semilog{0}{6}{0}{106}
\BodeGraph{0:4}{20*log10(abs(1/sqrt(1+(1*100000**t)**2)))}
\end{scope}
\end{tikzpicture}
\end{document}
Update
Looking the output it says
Package pgf Warning: Plot data file `1.table' not found. on input line 15.
I don't want to edit the .sty file to update, so how can be adjusted the code? I understand the bodeplot package uses gnuplot, so it has been checked and confirmed to be installed on the system.
New Update
I have reinstalled the bodegraph package, but Im still mismatching the function.The idea is to make it to look more or less to
bodegraph
is 11 years old. I do not know Bode plots, but it looks straight forward - can PGFPlots not be used?10 log(y)
) verses frequency. The tricky bit is that it takes y as as input but shows dB on the y axis, not y.bodeplot
package a while ago to add features tobodegraph
. Using that, you can plot Bode plots of transfer functions using a single\BodeTF
command.