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 27 28 29 30 31 32 33 34
| data = reshape(randperm(80),10,8) ;
figure (1)
clf
hold off
k=1 ;
for i=1:8
for j =1:8
subplot(8,8,k)
plot (data(:,i), data(:,j), '.')
k=k+1 ;
end
end
xmargin = 0.1
ymargin = 0.05 ;
for i=1:8
x = xmargin + ((i-1)/8)*(1-2*xmargin) ;
y = 0.95 ;
w = 1/8 *(1-2*xmargin) ;
h = 0.05 ;
t = annotation('textbox',[x y w h]) ;
box off
set (t, 'LineStyle', 'none', 'string', num2str(i), 'fontsize', 12, 'horizontalalignment', 'center', 'verticalalignment', 'middle')
end
for i=1:8
x = 0 ;
y = ymargin + ((i-1)/8)*(1-2*ymargin) ;
h = 1/8 *(1-2*ymargin) ;
w = 0.05 ;
t = annotation('textbox',[x y w h]) ;
box off
set (t, 'LineStyle', 'none', 'string', num2str(i), 'fontsize', 12, 'horizontalalignment', 'center', 'verticalalignment', 'middle')
end |
Partager