source: trunk/documents/theses/dstn/bitpack-fig.tex @ 11962

Revision 11962, 1.2 KB checked in by dstn, 15 months ago (diff)

kdtree figs

Line 
1\input{tikzfig}
2\input{kdfigs}
3\setpagesize{\bitpackfigwidth}{\bitpackfigheight}
4\begin{document}%
5\thispagestyle{empty}%
6\begin{center}%
7\begin{tikzpicture}[scale=0.6, >=latex]
8  \tikzstyle{box} = [draw, thick, minimum size=0.6cm, inner sep=0, anchor=north west]
9  \tikzstyle{lab} = [anchor=east]
10
11  \tikzstyle{brace} = [anchor=south west, inner sep=0]
12  \tikzstyle{lev}   = [anchor=south, inner sep=0]
13
14  \tikzstyle{plusone} = [anchor=west,pos=0.4, font=\footnotesize]
15
16  \draw (0,0) node (N15) [box] {15};
17  \draw (1,0) node     [box, minimum width=1.2cm] {\ldots};
18  \draw (3,0) node (N2)  [box] {2};
19  \draw (4.2,0) node (N1)  [box] {1};
20  \draw (5.2,0) node (N0)  [box] {0};
21
22  \draw (0,0) node (OB15) [brace] {$\overbrace{\rule{2.4cm}{0pt}}$};
23  \draw (4.2,0) node (OB10) [brace] {$\overbrace{\rule{1.2cm}{0pt}}$};
24
25  \node [above of=OB15, node distance=0.7em, anchor=mid] {split position};
26  \node [above of=OB10, node distance=0.7em, anchor=mid] {dimension};
27
28  \draw (0,-1.1) node (UB) [brace, anchor=north west] {$\underbrace{\rule{3.72cm}{0pt}}$};
29  \node [below of=UB, node distance=0.7em, anchor=mid] {{\tt uint16}};
30
31\end{tikzpicture}%
32\end{center}%
33\end{document}
Note: See TracBrowser for help on using the repository browser.