% the following plots the number of selected analogies
% for the GAC2 tree

means = [];
meanPred = -1 * ones(10,10);

workspaces = {'Cocomo81','Cocomo81o','Cocomo81e','Nasa93','Nasa93c2','Nasa93c5','Desharnais','Albrecht','SDR','ISBSG-Banking'};
eval(['cd Workspaces']);

figure;
hold on;
h=gca;
set(h,'FontSize',14);
set(h,'FontName','Times New Roman');

for realDeal = 1:10

    eval(['load ',char(workspaces(realDeal)),'.mat;']);
    
    means = [means;mean(instanceSizeGac2')];        
end
h = boxplot(means','labels',workspaces,'labelorientation','inline');
set(gca,'xtick',1:10, 'xticklabel',{'Cocomo81','Cocomo81o','Cocomo81e','Nasa93','Nasa93c2','Nasa93c5','Desharnais','Albrecht','SDR','ISBSG-Banking'}); 
%h = boxplot(means','labels',workspaces,'plotstyle','compact');

eval(['cd ..']);