\begin{tikzpicture}
\pgfplotstableread[col sep=comma]{./data/correlation_rfm_ard_full_pearson.csv}{\datatablePear};
\pgfplotstableread[col sep=comma]{./data/correlation_rfm_ard_full_spearman.csv}{\datatableSpear};
\begin{axis}[
boxplot/draw direction=y,
title={ARD-full vs. RFM},
width=1\columnwidth,
height=0.7\columnwidth,
boxplot={
	%
	% Idea: 
	%  place the 
	%  group 1 at 0.25 and 0.5 and 0.75
	%  group 2 at 1.25 and 1.5 and 1.75
	%  group 3 at 2.25 and 2.5 and 2.75
	%  ...
	% in a formular:
%	draw position={0.25 + floor(\plotnumofactualtype/3) + 0.25*mod(\plotnumofactualtype,3)},
	% draw position={0.25 + floor(\plotnumofactualtype/3) + 0.25*mod(\plotnumofactualtype,3)},
	%
	% that means the box extend must be at most 0.2 :
	box extend=0.3,
},
% ... it also means that 1 unit in x controls the width:
%x=1.5cm,
xtick={1,2,...,7},
%xtick={0.5,1.5,2.5,3.5,4.5,5.5,6.5}
% x tick label as interval,
xticklabels={%
	{YaHy},%
        {CoCoSt},%	
        {Ki},%
	{CoCyPoPl},%
	{EnEf},%
        {WiQuRe},%	
        {NaPlMa},%
},
xticklabel style={rotate=45, anchor=east}, % Rotate labels by 45 degrees
xmin=0.2,
xmax=7.8,
ymax=1.1,
ymin=0.1,
legend style={font=\tiny, 
	fill opacity=0.9, text opacity=1,
	at={(0.02,0.02)},
	anchor=south west,
	row sep=0pt},
legend cell align={left},
area legend,
legend entries = {
	{Pearson Corr.},
	{Spearman Corr.},
},
]

%YaHy
\addplot[boxplot, thick, draw=darkblue, boxplot/draw position=0.8] table[y index=6] {\datatablePear};
\addplot[boxplot, thick, draw=darkgreen, boxplot/draw position=1.2] table[y index=6] {\datatableSpear};

% CoCoSt
\addplot[boxplot, thick, draw=darkblue, boxplot/draw position=1.8] table[y index=0] {\datatablePear};
\addplot[boxplot, thick, draw=darkgreen, boxplot/draw position=2.2] table[y index=0] {\datatableSpear};


%Ki
\addplot[boxplot, thick, draw=darkblue, boxplot/draw position=2.8] table[y index=2] {\datatablePear};
\addplot[boxplot, thick, draw=darkgreen, boxplot/draw position=3.2] table[y index=2] {\datatableSpear};


%CoCyPoPl
\addplot[boxplot, thick, draw=darkblue, boxplot/draw position=3.8] table[y index=4] {\datatablePear};
\addplot[boxplot, thick, draw=darkgreen, boxplot/draw position=4.2] table[y index=4] {\datatableSpear};

% EnEf
\addplot[boxplot, thick, draw=darkblue, boxplot/draw position=4.8] table[y index=1] {\datatablePear};
\addplot[boxplot, thick, draw=darkgreen, boxplot/draw position=5.2] table[y index=1] {\datatableSpear};

% %WiQuRe
\addplot[boxplot, thick, draw=darkblue, boxplot/draw position=5.8] table[y index=5] {\datatablePear};
\addplot[boxplot, thick, draw=darkgreen, boxplot/draw position=6.2] table[y index=5] {\datatableSpear};

%NaPlMa
\addplot[boxplot, thick, draw=darkblue, boxplot/draw position=6.8] table[y index=3] {\datatablePear};
\addplot[boxplot, thick, draw=darkgreen, boxplot/draw position=7.2] table[y index=3] {\datatableSpear};


%\addplot[color=darkblue] plot coordinates {(4,15) (10,25)};
%\addplot[color=darkgreen] plot coordinates {(4,15) (10,25)};
%\addplot[color=red] plot coordinates {(4,15) (10,25)};

\end{axis}
\end{tikzpicture}