chore: add plot

This commit is contained in:
surtur 2020-11-27 00:05:51 +01:00
parent a57eeaa371
commit 02c323855d
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -14,6 +14,8 @@
\usepackage{hyperxmp}
\usepackage[affil-it]{authblk}
\usepackage{enumitem}
\usepackage{pgfplots}
\pgfplotsset{width=1.0\textwidth}
\usepackage{graphicx}
\graphicspath{ {./img/} }
@ -111,6 +113,43 @@ Vyvedené elektrody se nazývají emitor, báze, kolektor.
vytvoří graf (výstupní charakteristika).
\end{enumerate}
\begin{figure}[!hbt]
\centering
\begin{tikzpicture}
\begin{axis}[
xlabel={$U_{CE}$ [V]},
ylabel={$I_c$ [mA]},
xmin=0, xmax=2.5,
ymin=0, ymax=7,
xtick={0,0.5,1,1.5,2},
ytick={0,1,2,3,4,5,6,7},
legend pos=south east,
ymajorgrids=true,
grid style=dashed,
]
\addplot[
color=blue,
mark=halfcircle*,
]
coordinates {
(0,0)(0.05,0.093)(0.1,0.694)(0.15,2.05)(0.2,2.812)(0.25,2.971)(0.275,2.989)(0.3,2.996)(0.4,3)(1,3)(2,3)
};
\addlegendentry{$I_b$ = 20{\textmu}A}
\addplot[
color=orange,
mark=halfcircle*,
]
coordinates {
(0,0)(0.05,0.188)(0.1,1.338)(0.15,4.1)(0.2,5.625)(0.25,5.943)(0.275,5.978)(0.3,5.992)(0.4,6)(1,6)(2,6)
};
\addlegendentry{$I_b$ = 40{\textmu}A}
\end{axis}
\end{tikzpicture}
\caption{Výstupní charakteristika NPN tranzistoru}
\end{figure}
\newpage
\section{Zapojení bipolárního tranzistoru ve funkci spínače}