Debian Codegraph @

texmf-dist/doc/latex/numericplots/src/examples/BodeDiagramm.tex

raw
1 \begin{NumericDataPlot}{0.85\textwidth}{6.5cm}
2
3 \setxAxis{xMin=1, xMax=100, Dx=10, xLog}
4 \setyAxis{yMin=-20, yMax=0, Dy=5, yO=0, yCoordMin=525}
5
6 \plotxAxis[NoTickLabel,NoLabel]{}
7 \plotyAxis{$\left|G\left(I\omega\right)\right|$ in \si{\decibel}}
8
9 \NDPline[style=StdLineStyA]{0}{0}{1}{0}
10 \NDPline[style=StdLineStyA]{1}{0}{2}{-20}
11
12 \listplot[style=StdLineStyC]{\DataBetrag}
13
14 \NDPput[x=1, y=0]{\pnode{Pa}}
15 \NDPput[x=1, y=-3]{\pnode{Pb}}
16 \ncline{-}{Pb}{Pa}
17 \NDPput[x=1, y=-1.5]{\pnode{Pc}}
18 \NDPput[x=2, y=-2.5, RefPoint=r]%
19 {\Rnode{Pd}{
20 \psframebox[fillstyle=solid,fillcolor=white,linestyle=none,framesep=0pt]{%
21 \SI{-3}{\decibel} Betragskorrektur}}}
22 \pscustom[linewidth=0.5pt]{\ncline[angleA=0]{->}{Pd}{Pc}}
23
24 \NDPput[x=0.8, y=0]{\pnode{Pf}}
25 \NDPput[x=1.25, y=-5]{\pnode{Pg}}
26 \NDPput[x=0.9, y=-12.5, RefPoint=r]%
27 {\Rnode{Pe}{
28 \psframebox[fillstyle=solid,fillcolor=white,linestyle=none]%
29 {Asymptoten}}}
30 \pscustom[linewidth=0.5pt]{\ncline{->}{Pe}{Pf}}
31 \pscustom[linewidth=0.5pt]{\ncline{->}{Pe}{Pg}}
32
33
34 \setyAxis{yMin=-90, yMax=0, Dy=45, yO=0, yCoordMax=475}
35
36 \plotxAxis{$\omega$ in $\si{\radian\per\second}$}
37 \plotyAxis{$\arg\left(G\left(I\omega\right)\right)$ in $\si{\degree}$}
38
39 \listplot[style=StdLineStyC]{\DataPhase}
40
41 \listplot[plotstyle=dots]{10 -45}
42 \NDPput[x=1, y=-45, RefPoint=lb]{ \SI{-45}{\degree}}
43
44 \end{NumericDataPlot}