\documentclass{article}
\usepackage{graphicx}
\newcommand{\boxplot}[5]{
	\begin{picture}(100,10)
		%\put(0,0){\line(0,1){8}}
		%\put(100,0){\line(0,1){8}}
		\put(#1,4){\line(1,0){#2}}
		\put(#3,4){\circle*{6}}
		\put(#4,4){\line(1,0){#5}}
		\put(50,0){\line(0,1){8}}
	\end{picture}
}
\begin{document}
The Results fall into four groups

{\scriptsize
\begin{tabular}{ll|l|p{2cm}|rl}
%pd(inter) vs  & pf(intra) vs & &  \\
group &pd(inter)  & pf(inter)& data sets & n \\\cline{1-4}
a& decreased      		 & increased        &     PC5 &1& \rule{2.5mm}{2mm}\\
b& same                    & same             & KC3& 1&\rule{2.5mm}{2mm}\\ 
c& same                    &  decreased            & MC1 PC2 &2&\rule{5mm}{2mm}\\
d& increased               &        decreased & CM1 KC1 KC2 MC2 MW1 PC1 PC3 PC4 & 8&\rule{20mm}{2mm}
\end{tabular}}

\section{Overall }
\begin{tabular}{r|rrrrr|l|}\cline{2-6}
 & min & q1 & median & q3 & max  \\\cline{2-7}
 pd / inter&       50&  80&  91&  100& 100& \boxplot{50}{30}{91}{100}{0}\\
 pd / intra&       17&  67&  80&   88& 100& \boxplot{17}{50}{80}{88}{12}\\
 pf / inter&        4&  26&  52&   73& 100& \boxplot{4}{22}{52}{73}{27}\\
 pf / intra&        0&  17&  26&   33&  73& \boxplot{0}{17}{26}{33}{40}\\
\cline{2-7}\end{tabular}

\section{Group A- one example: ``PC5''}
\begin{tabular}{r|rrrrr|l|}\cline{2-6}
 & min & q1 & median & q3 & max  \\\cline{2-7}
pd / inter &  69 &  73 &  75 &  77 &  83 & \boxplot{69}{4}{75}{77}{6}\\
pd / intra &  81 &  85 &  88 &  90 &  96 & \boxplot{81}{4}{88}{90}{6}\\
pf / inter &   4 &   5 &   5 &   5 &   6 & \boxplot{4}{1}{5}{5}{1}\\
pf / intra &  11 &  12 &  12 &  12 &  14 & \boxplot{11}{1}{12}{12}{2}\\
\cline{2-7}\end{tabular}

\section{Group B- one example: ``KC3''}
\begin{tabular}{r|rrrrr|l|}\cline{2-6}
 & min & q1 & median & q3 & max  \\\cline{2-7}
pd / inter &  60 &  80 &  80 &  80 & 100 & \boxplot{60}{20}{80}{80}{20}\\
pd / intra &  40 &  60 &  80 &  80 & 100 & \boxplot{40}{20}{80}{80}{20}\\
pf / inter &  14 &  19 &  24 &  31 &  38 & \boxplot{14}{5}{24}{31}{7}\\
pf / intra &  10 &  17 &  21 &  26 &  36 & \boxplot{10}{7}{21}{26}{10}\\
\cline{2-7}\end{tabular}

\section{Group C- two examples such as ``MC1''}
\begin{tabular}{r|rrrrr|l|}\cline{2-6}
 & min & q1 & median & q3 & max  \\\cline{2-7}
pd / inter &  57 &  71 &  86 &  86 & 100 & \boxplot{57}{14}{86}{86}{14}\\
pd / intra &  57 &  71 &  86 &  86 & 100 & \boxplot{57}{14}{86}{86}{14}\\
pf / inter &  17 &  18 &  19 &  20 &  21 & \boxplot{17}{1}{19}{20}{1}\\
pf / intra &  15 &  16 &  17 &  18 &  20 & \boxplot{15}{1}{17}{18}{2}\\
\cline{2-7}\end{tabular}

\section{Group D- eight examples such as ``KC2''}
\begin{tabular}{r|rrrrr|l|}\cline{2-6}
 & min & q1 & median & q3 & max  \\\cline{2-7}
pd / inter &  82 &  91 &  91 & 100 & 100 & \boxplot{82}{9}{91}{100}{0}\\
pd / intra &  55 &  73 &  73 &  82 &  91 & \boxplot{55}{18}{73}{82}{9}\\
pf / inter &  57 &  62 &  64 &  74 &  81 & \boxplot{57}{5}{64}{74}{7}\\
pf / intra &  14 &  24 &  31 &  33 &  45 & \boxplot{14}{10}{31}{33}{12}\\
\cline{2-7}\end{tabular}

\section{Incremental Results}
\begin{center}
\begin{tabular}{cc}
\includegraphics[angle=90,width=2in]{log/incrementalcm1.pdf}&
\includegraphics[angle=90,width=2in]{log/incrementalkc1.pdf}\\
\includegraphics[angle=90,width=2in]{log/incrementalkc2.pdf}&
\includegraphics[angle=90,width=2in]{log/incrementalkc3.pdf}\\
\includegraphics[angle=90,width=2in]{log/incrementalmc1.pdf}&
\includegraphics[angle=90,width=2in]{log/incrementalmc2.pdf}\\
\includegraphics[angle=90,width=2in]{log/incrementalmw1.pdf}&
\includegraphics[angle=90,width=2in]{log/incrementalpc1.pdf}\\
\includegraphics[angle=90,width=2in]{log/incrementalpc2.pdf}&
\includegraphics[angle=90,width=2in]{log/incrementalpc3.pdf}\\
\includegraphics[angle=90,width=2in]{log/incrementalpc4.pdf}&
\includegraphics[angle=90,width=2in]{log/incrementalpc5.pdf}
\end{tabular}
\end{center}

\section{Under-Sampling Results}

\begin{center}
\begin{tabular}{cc}
\includegraphics[angle=90,width=2in]{log/undercm1.pdf}&
\includegraphics[angle=90,width=2in]{log/underkc1.pdf}\\
\includegraphics[angle=90,width=2in]{log/underkc2.pdf}&
\includegraphics[angle=90,width=2in]{log/underkc3.pdf}\\
\includegraphics[angle=90,width=2in]{log/undermc1.pdf}&
\includegraphics[angle=90,width=2in]{log/undermc2.pdf}\\
\includegraphics[angle=90,width=2in]{log/undermw1.pdf}&
\includegraphics[angle=90,width=2in]{log/underpc1.pdf}\\
\includegraphics[angle=90,width=2in]{log/underpc2.pdf}&
\includegraphics[angle=90,width=2in]{log/underpc3.pdf}\\
\includegraphics[angle=90,width=2in]{log/underpc4.pdf}&
\includegraphics[angle=90,width=2in]{log/underpc5.pdf}
\end{tabular}
\end{center}

\end{document}
