
allVariances = [];
for i = 1:20
   allVariances = [allVariances,varianceOfSelectedBestPlaces(i,:)]; 
end

allMre0 = [];
for i = 1:20
   allMre0 = [allMre0,mre0(i,:)]; 
end

[R P] = corrcoef(allVariances, allMre0)

temp = [allVariances',allMre0'];
temp = sort(temp);
plot(temp(:,1),log(temp(:,2))/max(log(temp(:,2))),'.');