1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
subplot (2,1,1)
boxplot(X, G)
title(' '); xlabel(' '); ylabel(' ');
set(gca,'XTick',1:numel(cMesLabels)); set(gca,'XTickLabel',cMesLabels);
hold on
stat1 = [];
for i = 1:length(tabstat)
stat1 = [stat1, tabstat{i}(:,cPerimeter)];
end
%Avec les tritre de colonnes et de lignes
ligne={'Mean';'Var';'Std'};
colonne= cMesLabels;
Matrice = stat1;
%Formatage
cellFinal = [{' '},colonne; ligne,cellfun(@num2str,num2cell(Matrice),'UniformOutput',false)];
Str = [];
espace=repmat(' ',size(cellFinal,1),1);
for k=1:size(cellFinal,2)
Str = [Str,char(cellFinal(:,k)),espace, espace, espace, espace];
end
text(1.5,15.5,Str,'HorizontalAlignment','left') |
Partager