Index: /trunk/documents/theses/dstn/figs-kdtree/permute-fig.tex
===================================================================
--- /trunk/documents/theses/dstn/figs-kdtree/permute-fig.tex	(revision 12339)
+++ /trunk/documents/theses/dstn/figs-kdtree/permute-fig.tex	(revision 12340)
@@ -1,3 +1,2 @@
-\input{../tikzfig}
 \input{kdfigs-tikz}
 \setpagesize{\permutefigwidth}{\permutefigheight}
Index: /trunk/documents/theses/dstn/figs-kdtree/kdfigs-tikz.tex
===================================================================
--- /trunk/documents/theses/dstn/figs-kdtree/kdfigs-tikz.tex	(revision 12338)
+++ /trunk/documents/theses/dstn/figs-kdtree/kdfigs-tikz.tex	(revision 12340)
@@ -1,3 +1,3 @@
-
+\input{../tikzfig}
 
 %% see   getbb.sh  to find the bounding-box of the ink in a figure.
@@ -18,6 +18,9 @@
 
 % 217 x 120
-\newcommand{\applypermfigwidth}{217pt}
-\newcommand{\applypermfigheight}{120pt}
+%\newcommand{\applypermfigwidth}{217pt}
+%\newcommand{\applypermfigheight}{120pt}
+
+\newcommand{\applypermfigwidth}{300pt}
+\newcommand{\applypermfigheight}{200pt}
 
 % 221 x 91
Index: /trunk/documents/theses/dstn/figs-kdtree/apply-perm-fig.tex
===================================================================
--- /trunk/documents/theses/dstn/figs-kdtree/apply-perm-fig.tex	(revision 12340)
+++ /trunk/documents/theses/dstn/figs-kdtree/apply-perm-fig.tex	(revision 12340)
@@ -0,0 +1,56 @@
+\input{kdfigs-tikz}
+\setpagesize{\applypermfigwidth}{\applypermfigheight}
+\begin{document}%
+\thispagestyle{empty}%
+\begin{center}%
+\newcommand{\myscale}{0.8}
+\begin{tikzpicture}[>=latex, scale=\myscale]
+
+  \tikzstyle{vec}=[row sep=0, column sep=0, inner sep=0, outer sep=0, draw=black,
+    anchor=north west, nodes={line width=0pt, draw, black, minimum size=\myscale cm, inner sep=0, outer sep=0}]
+
+  \tikzstyle{lab}=[anchor=mid east, inner sep=0]
+
+  \node [lab] at (-0.1,-1) {Original label array:};
+  \node [matrix, vec, nodes={rotate=90, minimum width=1.5cm}] (labelA) at (0,0) {%
+    \node (L0) {cat}; & \node (L1) {budgie}; & \node (L2) {dog}; &
+    \node (L3) {robin}; & \node (L4) {parrot}; & \node (L5) {horse}; \\
+  };
+
+  \begin{scope}[yshift=-3.7cm]
+
+    \node [lab] at (-0.1,-0.5) {Permutation array:};
+    \node [matrix, vec] (permB) at (0,0) {
+      \node (B0) {4}; & \node (B1) {1}; & \node (B2) {3}; &
+      \node (B3) {2}; & \node (B4) {0}; & \node (B5) {5}; \\
+    };
+
+
+    \begin{scope}[yshift=-1.5cm]
+
+      \node [lab] at (-0.1,-1) {Permuted label array:};
+      \node [matrix, vec, nodes={rotate=90, minimum width=1.5cm}] (labelA) at (0,0) {%
+        \node (P0) {parrot}; & \node (P1) {budgie}; & \node (P2) {robin}; &
+        \node (P3) {dog}; & \node (P4) {cat}; & \node (P5) {horse}; \\
+      };
+
+    \end{scope}
+  \end{scope}
+
+  \draw [thick] (B0.north) to [out=60, in=240] (L4.west);
+  \draw [thick] (B1.north) to (L1.west);
+  \draw [thick] (B2.north) to (L3.west);
+  \draw [thick] (B3.north) to (L2.west);
+  \draw [thick] (B4.north) to [out=120,in=300] (L0.west);
+  \draw [thick] (B5.north) to (L5.west);
+
+  \draw [thick] (B0.south) to (P0.east);
+  \draw [thick] (B1.south) to (P1.east);
+  \draw [thick] (B2.south) to (P2.east);
+  \draw [thick] (B3.south) to (P3.east);
+  \draw [thick] (B4.south) to (P4.east);
+  \draw [thick] (B5.south) to (P5.east);
+
+\end{tikzpicture}%
+\end{center}%
+\end{document}
Index: unk/documents/theses/dstn/apply-perm-fig.tex
===================================================================
--- /trunk/documents/theses/dstn/apply-perm-fig.tex	(revision 11961)
+++ 	(revision )
@@ -1,58 +1,0 @@
-\input{tikzfig}
-\input{kdfigs}
-\setpagesize{\applypermfigwidth}{\applypermfigheight}
-\begin{document}%
-\thispagestyle{empty}%
-\begin{center}%
-\begin{tikzpicture}[>=latex, scale=0.6]
-
-  \tikzstyle{vec}=[row sep=0, column sep=-0.4pt, inner sep=0, outer sep=0,
-    anchor=north west, nodes={draw, black, minimum size=0.6cm, inner sep=0, outer sep=0}]
-
-  \tikzstyle{lab}=[anchor=mid east, inner sep=0]
-
-  %\draw [thin,gray] (0,-10) grid (7,0);
-
-  \node [lab] at (-0.1,-1) {Original label array:};
-  \node [matrix, vec, nodes={rotate=90, minimum width=1.2cm}] (labelA) at (0,0) {%
-    \node (L0) {cat}; & \node (L1) {budgie}; & \node (L2) {dog}; &
-    \node (L3) {robin}; & \node (L4) {parrot}; & \node (L5) {horse}; \\
-  };
-
-  \begin{scope}[yshift=-3.5cm]
-
-    \node [lab] at (-0.1,-0.5) {Permutation array:};
-    \node [matrix, vec] (permB) at (0,0) {
-      \node (B0) {4}; & \node (B1) {1}; & \node (B2) {3}; &
-      \node (B3) {2}; & \node (B4) {0}; & \node (B5) {5}; \\
-    };
-
-
-    \begin{scope}[yshift=-1.5cm]
-
-      \node [lab] at (-0.1,-1) {Permuted label array:};
-      \node [matrix, vec, nodes={rotate=90, minimum width=1.2cm}] (labelA) at (0,0) {%
-        \node (P0) {parrot}; & \node (P1) {budgie}; & \node (P2) {robin}; &
-        \node (P3) {dog}; & \node (P4) {cat}; & \node (P5) {horse}; \\
-      };
-
-    \end{scope}
-  \end{scope}
-
-  \draw [thick] (B0.north) to [out=60, in=240] (L4.west);
-  \draw [thick] (B1.north) to (L1.west);
-  \draw [thick] (B2.north) to (L3.west);
-  \draw [thick] (B3.north) to (L2.west);
-  \draw [thick] (B4.north) to [out=120,in=300] (L0.west);
-  \draw [thick] (B5.north) to (L5.west);
-
-  \draw [thick] (B0.south) to (P0.east);
-  \draw [thick] (B1.south) to (P1.east);
-  \draw [thick] (B2.south) to (P2.east);
-  \draw [thick] (B3.south) to (P3.east);
-  \draw [thick] (B4.south) to (P4.east);
-  \draw [thick] (B5.south) to (P5.east);
-
-\end{tikzpicture}%
-\end{center}%
-\end{document}
