aboutsummaryrefslogtreecommitdiffstats
path: root/buch/papers/reedsolomon/tikz/polynom2.tex
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--buch/papers/reedsolomon/tikz/polynom2.tex (renamed from buch/papers/reedsolomon/images/polynom2.tex)21
1 files changed, 16 insertions, 5 deletions
diff --git a/buch/papers/reedsolomon/images/polynom2.tex b/buch/papers/reedsolomon/tikz/polynom2.tex
index 288b51c..47dc679 100644
--- a/buch/papers/reedsolomon/images/polynom2.tex
+++ b/buch/papers/reedsolomon/tikz/polynom2.tex
@@ -1,5 +1,13 @@
% polynome
%-------------------
+
+\documentclass[tikz]{standalone}
+\usepackage{amsmath}
+\usepackage{times}
+\usepackage{pgfplots}
+
+
+\begin{document}
% Teiler für das Skalieren der Grafik /40
\newcommand{\teiler}{40}
@@ -21,9 +29,14 @@
\def\hellpunkt#1{
\fill[color=lightgray] #1 circle[radius=0.08];
- \draw #1 circle[radius=0.07];
+ \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)}
@@ -32,9 +45,7 @@
\punkt{(6,83/\teiler)}
\punkt{(7,110/\teiler)}
- \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});
+
\def\erpunkt#1{
\fill[color=red] #1 circle[radius=0.08];
@@ -46,4 +57,4 @@
\draw(0,100/\teiler) -- (-0.1,100/\teiler) coordinate[label={left:$100$}];
\draw(1,0) -- (1,-0.1) coordinate[label={below:$1$}];
\end{tikzpicture}
-%\end{document}
+\end{document}