Skip to content
Snippets Groups Projects
Commit 9589f406 authored by Florian Unger's avatar Florian Unger
Browse files

progress on RBT chapter

parent b5eb2016
No related branches found
No related tags found
No related merge requests found
\tikzsetnextfilename{dynamic_array_aufwand}
\begin{tikzpicture}
\begin{axis}[
ybar stacked,
enlargelimits=0.05,
ylabel={Zeitaufwand},
xlabel={$n$},
symbolic x coords={1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18},
nodes near coords,
nodes near coords align={vertical},
]
\addplot+[ybar] coordinates {(1,1) (2,1) (3,1) (4,1) (5,1) (6,1) (7,1) (8,1) (9,1) (10,1)
(11,1) (12,1) (13,1) (14,1) (15,1) (16,1) (17,1) (18,1)};
\addplot+[ybar] coordinates {(1,0) (2,1) (3,2) (4,0) (5,4) (6,0) (7,0) (8,0) (9,8) (10,0)
(11,0) (12,0) (13,0) (14,0) (15,0) (16,0) (17,16) (18,0)};
\legend{\strut $n$ Einfügen, \strut Umstrukturierung}
\end{axis}
\end{tikzpicture}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment