|
1 | 1 | \documentclass[a4paper]{amsart} |
2 | | -\usepackage[top=0.5cm,bottom=0.5cm,left=0.25cm,right=0.5cm]{geometry} |
| 2 | +\usepackage[top=0.5cm,bottom=0.5cm,left=0.5cm,right=0.5cm]{geometry} |
3 | 3 | \usepackage{siunitx} |
4 | 4 | \usepackage{tikz} |
5 | 5 | \usetikzlibrary{calc} |
|
23 | 23 | xlabel style={at={(ticklabel* cs:1,8)},anchor=north}, |
24 | 24 | ylabel={\si{\decibel}}, |
25 | 25 | ylabel style={rotate=-90,at={(ticklabel* cs:1)},anchor=south}, |
26 | | - xmin=1e-2,xmax=1e4, |
| 26 | + xmin=1e-3,xmax=1e4, |
27 | 27 | ymin=-60,ymax=100, |
28 | 28 | enlarge y limits=0.025, |
| 29 | + ytick align=outside, |
| 30 | + ytick pos=left, |
| 31 | + minor tick length=0pt, |
29 | 32 | ytick={-60,-40,...,100}, |
| 33 | + yticklabels={}, |
| 34 | + %ytick={-60,-40,...,100}, |
30 | 35 | grid=both, |
31 | 36 | minor tick num=5, |
32 | 37 | grid style={line width=.4pt, draw=gray!20}, |
|
35 | 40 | major grid style={line width=.6pt,draw=gray!40}, |
36 | 41 | ticklabel style={font=\footnotesize} |
37 | 42 | ] |
38 | | - \addplot[mark=none,line width=.8pt,gray!80,domain=0.011:9000]{0}; % Makes "0 axis" thicker |
| 43 | + %\addplot[mark=none,line width=.8pt,gray!80,domain=0.011:9000]{0}; % Makes "0 axis" thicker |
39 | 44 | \end{axis} |
40 | 45 | \begin{axis}[ |
41 | 46 | name=phase, |
|
49 | 54 | axis line style={latex-latex}, |
50 | 55 | xlabel={$\omega$[\si[per-mode=fraction]{\radian\per\second}]}, |
51 | 56 | xlabel style={at={(ticklabel* cs:1,8)},anchor=north}, |
52 | | - xmin=1e-2,xmax=1e4, |
| 57 | + xmin=1e-3,xmax=1e4, |
53 | 58 | ymin=-180,ymax=180, |
54 | 59 | enlarge y limits=0.025, |
| 60 | + ytick align=outside, |
| 61 | + minor tick length=0pt, |
| 62 | + ytick pos=left, |
55 | 63 | ytick={-180,-135,...,180}, |
56 | | - yticklabels={-180$^\circ$,-135$^\circ$,-90$^\circ$,-45$^\circ$,0$^\circ$,45$^\circ$,90$^\circ$,135$^\circ$,180$^\circ$}, |
| 64 | + yticklabels={}, |
| 65 | + %yticklabels={-180$^\circ$,-135$^\circ$,-90$^\circ$,-45$^\circ$,0$^\circ$,45$^\circ$,90$^\circ$,135$^\circ$,180$^\circ$}, |
57 | 66 | grid=both, |
58 | 67 | minor tick num=2, |
59 | 68 | grid style={line width=.4pt, draw=gray!20}, |
|
62 | 71 | major grid style={line width=.6pt,draw=gray!40}, |
63 | 72 | ticklabel style={font=\footnotesize} |
64 | 73 | ] |
65 | | - \addplot[mark=none,line width=.8pt,gray!60,domain=0.011:9000]{0}; |
| 74 | + %\addplot[mark=none,line width=.8pt,gray!60,domain=0.011:9000]{0}; |
66 | 75 | \end{axis} |
67 | 76 | \node[above,font=\large\bfseries] at ($(magnitude.north)+(0,1)$) {\texttt{\LARGE{Bode plot}}}; |
68 | 77 | \end{tikzpicture} |
|
0 commit comments