aboutsummaryrefslogtreecommitdiffstats
path: root/buch/papers/multiplikation/images/bigo.tex
diff options
context:
space:
mode:
authorNunigan <michael.schmid2@ost.ch>2021-08-06 17:37:58 +0200
committerNunigan <michael.schmid2@ost.ch>2021-08-06 17:37:58 +0200
commit872595e81de60c85b18408f8de5a49c535518edc (patch)
tree05f76c1e3a183286b938013b3683b47c7c4a77c2 /buch/papers/multiplikation/images/bigo.tex
parentMerge branch 'AndreasFMueller:master' into master (diff)
downloadSeminarMatrizen-872595e81de60c85b18408f8de5a49c535518edc.tar.gz
SeminarMatrizen-872595e81de60c85b18408f8de5a49c535518edc.zip
update multiplikation
Diffstat (limited to 'buch/papers/multiplikation/images/bigo.tex')
-rw-r--r--buch/papers/multiplikation/images/bigo.tex24
1 files changed, 12 insertions, 12 deletions
diff --git a/buch/papers/multiplikation/images/bigo.tex b/buch/papers/multiplikation/images/bigo.tex
index a415ccb..9ee3a68 100644
--- a/buch/papers/multiplikation/images/bigo.tex
+++ b/buch/papers/multiplikation/images/bigo.tex
@@ -42,56 +42,56 @@
\begin{axis}[
xmode=log, ymode=log,
- xmin=1e-0, xmax=5e1,
+ xmin=1e-0, xmax=5000,
ymin=10e-1, ymax=1e7,
grid=both,
major grid style={black!50},
- xlabel = $n$ (Data Input),
- ylabel = {$t$ (time)},
- legend pos=north east,
+ xlabel = data input size,
+ ylabel = {time},
+ legend pos=north west,
very thick,
yticklabels=\empty,
xticklabels=\empty,
scale only axis=true,
- width=12cm, height=6cm,
+ width=12cm, height=8cm,
]
\addplot [
- domain= 1:50,
+ domain= 1:5000,
samples=100,
color=red,
]
{1};
\addlegendentry{$\mathcal{O}(1)$}
\addplot [
- domain= 1:50,
+ domain= 1:5000,
samples=100,
color=green,
]
{x};
\addlegendentry{$\mathcal{O}(n)$}
\addplot [
- domain= 1:50,
+ domain= 1:50000,
samples=100,
color=blue,
]
{x^2};
\addlegendentry{$\mathcal{O}\left(n^2\right)$}
\addplot [
- domain= 1:50,
+ domain= 1:500,
samples=100,
color=purple,
]
{x^3};
\addlegendentry{$\mathcal{O}\left(n^3\right)$}
\addplot [
- domain= 1:50,
+ domain= 1:500,
samples=100,
color=black,
]
{exp(x) - 1.7};
\addlegendentry{$\mathcal{O}\left(e^n\right)$}
\addplot [
- domain= 1:50,
+ domain= 1:5000,
samples=100,
color=orange,
]
@@ -99,7 +99,7 @@
\addlegendentry{$\mathcal{O}(\log n)$}
\addplot [
- domain= 1:50,
+ domain= 1:5000,
samples=100,
color=gray,
]