PISCES / paper /figs /split_real.tex
Nabidnur's picture
PISCES (ARIES #1): code, paper, notebooks, results and figures
c09a3f4 verified
Raw History Blame Contribute Delete
1.89 kB
% The two fish on real data: three of the largest final DEEP clusters (PISCES, seed 10), rows projected on
% their own (u1, u2). Teal: PISCES children c +- sqrt(2 lambda1/pi) u1; orange: an unrestricted 2-means.
\newcommand{\splitpanel}[2]{% #1 = index, #2 = letter
\addplot[only marks, mark=*, mark size=0.6pt, pnavy, opacity=0.22] table[x=a, y=b] {data/splitex#1_pts.dat};
\addplot[only marks, mark=x, mark size=4.2pt, line width=1.5pt, porange] table[x=a, y=b] {data/splitex#1_kmeans.dat};
\addplot[only marks, mark=triangle*, mark size=4pt, pteal, draw=white] table[x=a, y=b] {data/splitex#1_pisces.dat};
\addplot[only marks, mark=*, mark size=2.4pt, pred, draw=white] coordinates {(0,0)};}
\begin{tikzpicture}
\begin{groupplot}[group style={group size=3 by 1, horizontal sep=0.75cm}, width=5.4cm, height=5.4cm,
tick label style={font=\tiny}, label style={font=\scriptsize}, xlabel={projection on $u_1$}, xmin=-0.3, xmax=0.3, ymin=-0.3, ymax=0.3,
title style={font=\scriptsize}, xmajorgrids, ymajorgrids, grid style={pgrey!20}, scaled ticks=false,
tick label style={/pgf/number format/fixed, /pgf/number format/precision=2},
extra x ticks={0}, extra x tick labels={}, extra x tick style={grid style={pgrey, dashed, thick}}]
\nextgroupplot[title={$N=\getv{splitexNA}$, $\lambda_2/\lambda_1=\getv{splitexRA}$}, ylabel={projection on $u_2$}]
\splitpanel{0}{A}
\nextgroupplot[title={$N=\getv{splitexNB}$, $\lambda_2/\lambda_1=\getv{splitexRB}$}, legend style={at={(0.5,-0.28)}, anchor=north, legend columns=4, draw=none, font=\scriptsize, /tikz/every even column/.append style={column sep=8pt}}]
\splitpanel{1}{B}
\legend{rows of the cluster, unrestricted 2-means, \PISCES{} children $c\pm\sqrt{2\lambda_1/\pi}\,u_1$, centroid $c$}
\nextgroupplot[title={$N=\getv{splitexNC}$, $\lambda_2/\lambda_1=\getv{splitexRC}$}]
\splitpanel{2}{C}
\end{groupplot}
\end{tikzpicture}