From f3cc2cb08a248830757b89f5479f692e29eda046 Mon Sep 17 00:00:00 2001 From: surtur Date: Fri, 27 Nov 2020 01:14:07 +0100 Subject: [PATCH] chore: add plot1 + refactor axis {x,y}ticks --- ZM_03.tex | 46 +++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 41 insertions(+), 5 deletions(-) diff --git a/ZM_03.tex b/ZM_03.tex index 3810d6f..27e8f4a 100644 --- a/ZM_03.tex +++ b/ZM_03.tex @@ -80,6 +80,42 @@ Vyvedené elektrody se nazývají emitor, báze, kolektor. vytvoří graf (vstupní charakteristika). \end{enumerate} +\newpage +\subsection{Graf} +\begin{figure}[!hbt] +\centering +\begin{tikzpicture} +\begin{axis}[ + xlabel={$U_{BE}$ [V]}, + ylabel={$I_b$ [mA]}, + xmin=0, xmax=0.7, + ymin=0, ymax=0.25, + xtick={0,0.1,0.2,0.4,0.5,0.55,0.6,0.65,0.7,0.8}, + ytick={0,0.05,0.1,0.15,0.2,0.225,0.25}, + legend pos=north west, + ymajorgrids=true, + grid style=dashed, + line width=1.0pt, + mark size=2.0pt, +] + + \addplot[ + color=blue, + dash pattern=on 1pt off 3pt on 3pt off 3pt, + mark=*, + mark options={solid}, + smooth + ] + coordinates { + (0,0)(0.2,0)(0.4,0)(0.5,0)(0.55,0.001)(0.6,0.008)(0.62,0.0192)(0.65,0.0568)(0.665,0.097)(0.672,0.128)(0.686,0.22) + }; + \addlegendentry{$U_{CE}=\{1,2\}V$} + +\end{axis} +\end{tikzpicture} +\caption{Vstupní charakteristika NPN tranzistoru} +\end{figure} + \newpage \section{Měření převodové charakteristiky bipolárního tranzistoru} @@ -105,10 +141,10 @@ Vyvedené elektrody se nazývají emitor, báze, kolektor. \begin{axis}[ xlabel={$I_b$ [{\textmu}A]}, ylabel={$I_C$ [mA]}, - xmin=0, xmax=50, - ymin=0, ymax=7.5, + xmin=0, xmax=60, + ymin=0, ymax=8, xtick={0,10,20,30,40,50}, - ytick={0,1,2,3,4,5,6,7}, + ytick={0,1,2,3,4,5,6,7,7.5,8}, legend pos=south east, ymajorgrids=true, grid style=dashed, @@ -126,7 +162,7 @@ Vyvedené elektrody se nazývají emitor, báze, kolektor. coordinates { (0,0)(2,0.3)(4,0.6)(8,1.2)(11,1.65)(13,1.95)(15,2.25)(16,2.4)(21,3.15)(25,3.75)(31,4.65)(35,5.25)(37,5.55)(40,6)(50,7.5) }; - \addlegendentry{$I_{c_{1,2}}$ [mA], $U_{CE}=\{1,2\}V$} + \addlegendentry{$U_{CE}=\{1,2\}V$} \end{axis} \end{tikzpicture} @@ -157,7 +193,7 @@ Vyvedené elektrody se nazývají emitor, báze, kolektor. ylabel={$I_c$ [mA]}, xmin=0, xmax=2.5, ymin=0, ymax=7, - xtick={0,0.5,1,1.5,2}, + xtick={0,0.15,0.3,0.5,1,1.5,2,2.5}, ytick={0,1,2,3,4,5,6,7}, legend pos=south east, ymajorgrids=true,