aboutsummaryrefslogtreecommitdiffstats
path: root/buch/papers/reedsolomon/tikz/polynomraw.tex
diff options
context:
space:
mode:
authorAndreas Müller <andreas.mueller@ost.ch>2021-07-30 17:53:28 +0200
committerGitHub <noreply@github.com>2021-07-30 17:53:28 +0200
commit8c11309af97b07e8a22221b7c2bbdaab48f11c95 (patch)
tree74d0d42be0e677c0c96dd286ed5e53bea0611f62 /buch/papers/reedsolomon/tikz/polynomraw.tex
parentadd polyhedra/triangulations (diff)
parentsourc from tikz changed to pdf (diff)
downloadSeminarMatrizen-8c11309af97b07e8a22221b7c2bbdaab48f11c95.tar.gz
SeminarMatrizen-8c11309af97b07e8a22221b7c2bbdaab48f11c95.zip
Merge pull request #57 from JODBaer/Baer
rewrite some text, just first section
Diffstat (limited to 'buch/papers/reedsolomon/tikz/polynomraw.tex')
-rw-r--r--buch/papers/reedsolomon/tikz/polynomraw.tex50
1 files changed, 50 insertions, 0 deletions
diff --git a/buch/papers/reedsolomon/tikz/polynomraw.tex b/buch/papers/reedsolomon/tikz/polynomraw.tex
new file mode 100644
index 0000000..02968fd
--- /dev/null
+++ b/buch/papers/reedsolomon/tikz/polynomraw.tex
@@ -0,0 +1,50 @@
+% polynomraw
+
+\newcommand{\teiler}{40}
+
+
+%//////////////////////////////////////
+
+\begin{tikzpicture}[>=latex,thick,]
+ \draw[color=blue, line width=1.4pt]
+ plot[domain=0:8, samples=100]
+ ({\x},{(2*\x^2+1*\x+5)/\teiler});
+
+ \draw[->] (-0.2,0) -- (8,0) coordinate[label={$x$}];
+ \draw[->] (0,-0.2) -- (0,150/\teiler) coordinate[label={right:$p(x)$}];
+
+ \def\punkt#1{
+ \fill[color=green] #1 circle[radius=0.08];
+ \draw #1 circle[radius=0.07];
+ }
+
+ \def\hellpunkt#1{
+ \fill[color=lightgray] #1 circle[radius=0.08];
+ \draw[gray] #1 circle[ radius=0.07];
+ }
+
+ \draw[color=gray,line width=1pt,dashed]
+ plot[domain=0.5:7, samples=100]
+ ({\x},{(7.832*\x^2-51.5*\x+121.668)/\teiler});
+
+
+ \punkt{(1,8/\teiler)}
+ \hellpunkt{(2,15/\teiler)}
+ \hellpunkt{(3,26/\teiler)}
+ \punkt{(4,41/\teiler)}
+ \punkt{(5,60/\teiler)}
+ \punkt{(6,83/\teiler)}
+ \punkt{(7,110/\teiler)}
+
+
+
+ \def\erpunkt#1{
+ \fill[color=red] #1 circle[radius=0.08];
+ \draw #1 circle[radius=0.07];
+ }
+ \erpunkt{(2,50/\teiler)}
+ \erpunkt{(3,37.66/\teiler)}
+
+ \draw(0,100/\teiler) -- (-0.1,100/\teiler) coordinate[label={left:$100$}];
+ \draw(1,0) -- (1,-0.1) coordinate[label={below:$1$}];
+\end{tikzpicture} \ No newline at end of file