mirror of
https://github.com/MartinThoma/LaTeX-examples.git
synced 2025-04-26 06:48:04 +02:00
Add function graphs
This commit is contained in:
parent
da41fb9529
commit
6bfa0299bf
24 changed files with 411 additions and 0 deletions
16
tikz/inverse-function/inverse-function.tex
Normal file
16
tikz/inverse-function/inverse-function.tex
Normal file
|
@ -0,0 +1,16 @@
|
|||
\documentclass[varwidth=true, border=2pt]{standalone}
|
||||
|
||||
\usepackage{tikz}
|
||||
\usetikzlibrary{shapes,snakes,shapes.geometric,positioning,decorations.text}
|
||||
|
||||
\begin{document}
|
||||
\tikzstyle{arrow}=[bend left,->,very thick, line cap=round]
|
||||
\begin{tikzpicture}[node distance=2cm]
|
||||
\node[ellipse,draw,minimum width=80pt,minimum height=20pt,fill=gray!5] (a) {1\\2\\3};
|
||||
\node[ellipse,draw,minimum width=80pt,minimum height=20pt,fill=gray!5,below of=a] (u) {a\\b\\c};
|
||||
|
||||
% Arrows
|
||||
\draw[arrow,postaction={decorate,decoration={text along path,raise=0.08cm,text align=center,text={Aktion {$a_k$}}}}] (a.east) to node {} (u.east);
|
||||
\draw[arrow,postaction={decorate,decoration={text along path,raise=0.08cm,text align=center,text={Zustand {$x_k$}}}}] (u.west) to node {} (a.west);
|
||||
\end{tikzpicture}
|
||||
\end{document}
|
Loading…
Add table
Add a link
Reference in a new issue