Grafik
Verfasst: Di 8. Jan 2019, 13:30
Ist es diese Grafik in TikZ einzureichen. Und weiss jemand ob es ein Problem ist wenn ich in die Bachelor Arbeit das Bild rein tun würde mit veränderten Daten
\begin{figure}[hpt!] \centering \tikzstyle{block} = [draw, fill=gray!3, rectangle, minimum height=3em, minimum width=6em] \tikzstyle{sum} = [draw, fill=gray!3, circle, node distance=2cm] \tikzstyle{input} = [coordinate] \tikzstyle{output} = [coordinate] \tikzstyle{pinstyle} = [pin edge={to-,thin,black}] \begin{tikzpicture}[auto, node distance=3cm,>=latex'] \node [input, name=input] {}; \node [sum, right of=input] (sum) {}; \node [block, right of=sum] (controller) {Regler}; \node [block, right of=controller, node distance=3.5cm] (motor) {Stellgleid}; \node [block, right of=motor, pin={[pinstyle]above:Störgröße}, node distance=3.5cm] (system) {Regelgröße}; \draw [->] (controller) -- node[name=u] {$u(t)$} (motor); \node [output, right of=system] (output) {}; \node [block, below of=motor] (msystem) {Messglied}; \draw [draw,->] (input) -- node {$w(t)$} (sum); \draw [->] (sum) -- node {$e(t)$} (controller); \draw [->] (motor) -- node {$u(t)$} (system); \draw [->] (system) -- node [name=y] {$y(t)$}(output); \draw [->] (y) |- (msystem); \draw [->] (msystem) -| node[pos=0.99] {$-$} node [near end] {$y(t)_\text{Rück}$} (sum); \end{tikzpicture}
\documentclass[12pt]{article} \usepackage[english]{babel} \usepackage[utf8x]{inputenc} \usepackage{amsmath} \usepackage{tikz} \usetikzlibrary{arrows} \begin{document} \begin{figure}[hpt!] \centering \tikzstyle{block} = [draw, fill=gray!3, rectangle, minimum height=3em, minimum width=6em] \tikzstyle{sum} = [draw, fill=gray!3, circle, node distance=2cm] \tikzstyle{input} = [coordinate] \tikzstyle{output} = [coordinate] \tikzstyle{pinstyle} = [pin edge={to-,thin,black}] \begin{tikzpicture}[auto, node distance=3cm,>=latex'] \node [input, name=input] {}; \node [sum, right of=input] (sum) {}; \node [block, right of=sum] (controller) {Regler}; \node [block, right of=controller, node distance=3.5cm] (motor) {Stellgleid}; \node [block, right of=motor, pin={[pinstyle]above:Störgröße}, node distance=3.5cm] (system) {Regelgröße}; \draw [->] (controller) -- node[name=u] {$u(t)$} (motor); \node [output, right of=system] (output) {}; \node [block, below of=motor] (msystem) {Messglied}; \draw [draw,->] (input) -- node {$w(t)$} (sum); \draw [->] (sum) -- node {$e(t)$} (controller); \draw [->] (motor) -- node {$u(t)$} (system); \draw [->] (system) -- node [name=y] {$y(t)$}(output); \draw [->] (y) |- (msystem); \draw [->] (msystem) -| node[pos=0.99] {$-$} node [near end] {$y(t)_\text{Rück}$} (sum); \end{tikzpicture} \end{figure} \end{document}
\documentclass[12pt]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{tikz} \usepackage{circuitikz} \tikzstyle{block} = [thick,draw,rectangle,minimum width=1.4cm, minimum height=1.4cm] \usepackage{siunitx} \begin{document} \begin{figure}%[hpt!] \centering \begin{tikzpicture}[>=latex,node distance=2.8cm,font=\footnotesize] \node[block,label={$\eta_\text{Bat}=\SI{97}\percent$}](A) at (0,0) {}; \node[block, right of=A,label={$\eta_\text{inv}=\SI{95}\percent$}](B) {}; \node[block, right of=B,label={$\eta_\text{PSM}=\SI{88}\percent$}](C) {\normalsize\sffamily M}; \node[block, right of=C,label={$\eta_\text{mech}=\SI{95}\percent$}](D) {}; \node[block, right of=D](E) {}; \draw[thick] (B.north east) -- (B.south west); \draw (C) circle (.6); \draw (-.5,0) to [battery] (0.5,0); \draw[->] (A.east) -- (B.west) node[midway,above] {$P(t)_\text{el}$}; \draw[->] (B.east) -- (C.west); \draw[->] (C.east) -- (D.west); \draw[->] (D.east) -- (E.west); \end{tikzpicture} \end{figure} \end{document}