diff options
author | Andreas Müller <andreas.mueller@ost.ch> | 2021-07-28 18:04:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-28 18:04:53 +0200 |
commit | c106f9a72f89b9c83287770785f74ba79441b6c3 (patch) | |
tree | 50763e956858f49dfb840d16b62921d4d2c4a9c1 /buch/papers/reedsolomon/tikz/polynom2.tex | |
parent | Merge pull request #53 from Lukaszogg/master (diff) | |
parent | Merge remote-tracking branch 'upstream/master' into Baer (diff) | |
download | SeminarMatrizen-c106f9a72f89b9c83287770785f74ba79441b6c3.tar.gz SeminarMatrizen-c106f9a72f89b9c83287770785f74ba79441b6c3.zip |
Merge pull request #54 from JODBaer/Baer
rewrite some texts
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} |