aboutsummaryrefslogtreecommitdiffstats
path: root/buch/chapters/70-graphen/images/peterson.tex
diff options
context:
space:
mode:
authorLordMcFungus <mceagle117@gmail.com>2021-03-22 18:05:11 +0100
committerGitHub <noreply@github.com>2021-03-22 18:05:11 +0100
commit76d2d77ddb2bed6b7c6b8ec56648d85da4103ab7 (patch)
tree11b2d41955ee4bfa0ae5873307c143f6b4d55d26 /buch/chapters/70-graphen/images/peterson.tex
parentmore chapter structure (diff)
parentadd title image (diff)
downloadSeminarMatrizen-76d2d77ddb2bed6b7c6b8ec56648d85da4103ab7.tar.gz
SeminarMatrizen-76d2d77ddb2bed6b7c6b8ec56648d85da4103ab7.zip
Merge pull request #1 from AndreasFMueller/master
update
Diffstat (limited to 'buch/chapters/70-graphen/images/peterson.tex')
-rw-r--r--buch/chapters/70-graphen/images/peterson.tex38
1 files changed, 38 insertions, 0 deletions
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}
+