diff options
author | Andreas Müller <andreas.mueller@ost.ch> | 2021-02-09 21:52:16 +0100 |
---|---|---|
committer | Andreas Müller <andreas.mueller@ost.ch> | 2021-02-09 21:52:16 +0100 |
commit | ada53a9c225b896c8d7608300427aac475bb7045 (patch) | |
tree | 1b1fe99c3e78256ff839611225dd61d983b96575 /buch/chapters/70-graphen/images | |
parent | Illustrationen Markov-Ketten (diff) | |
download | SeminarMatrizen-ada53a9c225b896c8d7608300427aac475bb7045.tar.gz SeminarMatrizen-ada53a9c225b896c8d7608300427aac475bb7045.zip |
move all iamges to separate files
Diffstat (limited to 'buch/chapters/70-graphen/images')
-rw-r--r-- | buch/chapters/70-graphen/images/Makefile | 10 | ||||
-rw-r--r-- | buch/chapters/70-graphen/images/peterson.pdf | bin | 0 -> 10833 bytes | |||
-rw-r--r-- | buch/chapters/70-graphen/images/peterson.tex | 38 |
3 files changed, 48 insertions, 0 deletions
diff --git a/buch/chapters/70-graphen/images/Makefile b/buch/chapters/70-graphen/images/Makefile new file mode 100644 index 0000000..2199ddc --- /dev/null +++ b/buch/chapters/70-graphen/images/Makefile @@ -0,0 +1,10 @@ +# +# Makefile -- Bilder für Kapitel Graphen +# +# (c) 2021 Prof Dr Andreas Müller, OST Ostschweizer Fachhochschule +# +all: peterson.pdf + +peterson.pdf: peterson.tex + pdflatex peterson.tex + diff --git a/buch/chapters/70-graphen/images/peterson.pdf b/buch/chapters/70-graphen/images/peterson.pdf Binary files differnew file mode 100644 index 0000000..259d808 --- /dev/null +++ b/buch/chapters/70-graphen/images/peterson.pdf diff --git a/buch/chapters/70-graphen/images/peterson.tex b/buch/chapters/70-graphen/images/peterson.tex new file mode 100644 index 0000000..c0af98b --- /dev/null +++ b/buch/chapters/70-graphen/images/peterson.tex @@ -0,0 +1,38 @@ +% +% tikztemplate.tex -- template for standalon tikz images +% +% (c) 2021 Prof Dr Andreas Müller, OST Ostschweizer Fachhochschule +% +\documentclass[tikz]{standalone} +\usepackage{amsmath} +\usepackage{times} +\usepackage{txfonts} +\usepackage{pgfplots} +\usepackage{csvsimple} +\usetikzlibrary{arrows,intersections,math} +\begin{document} +\def\skala{1} +\begin{tikzpicture}[>=latex,thick,scale=\skala] + +\def\l{0.25} +\def\r{1} +\def\punkt#1{({\r*sin(((#1)-1)*72)},{\r*cos(((#1)-1)*72)})} +\def\R{2} +\def\Punkt#1{({\R*sin(((#1)-6)*72)},{\R*cos(((#1)-6)*72)})} +\draw \Punkt{6} -- \Punkt{7} -- \Punkt{8} -- \Punkt{9} -- \Punkt{10} -- cycle; +\draw \punkt{1} -- \punkt{3} -- \punkt{5} -- \punkt{2} -- \punkt{4} -- cycle; +\foreach \k in {1,...,5}{ + \draw \punkt{\k} -- \Punkt{(\k+5)}; + \fill[color=white] \punkt{\k} circle[radius=\l]; + \node at \punkt{\k} {$\k$}; + \draw \punkt{\k} circle[radius=\l]; +} +\foreach \k in {6,...,10}{ + \fill[color=white] \Punkt{\k} circle[radius=\l]; + \node at \Punkt{\k} {$\k$}; + \draw \Punkt{\k} circle[radius=\l]; +} + +\end{tikzpicture} +\end{document} + |