MATLAB: Putting figures within rectangles

subplot

I am trying to create a page for a journal aricle. The page will display four rectangles that each containing one of the letters A, B, C or D. Each rectangle contains four figures (shown in blue). Above each figure is positioned the letters a, b, c or d. This allows the reader to reference each figure by a big letter followed by a small letter. Is this possible in MATLAB?
Thanks
Tom

Best Answer

x=1:10;
y=1:10;
figure;
subplot(2,2,1)
plot(x,y);
t=title('a');
subplot(2,2,2)
plot(x,y);
title('b');
subplot(2,2,3)
plot(x,y);
title('c');
subplot(2,2,4)
plot(x,y);
title('d');
If you want the titles aligned to the left instead of the center, use:
title('a','units', 'normalized','position',[0.05 1.05]);
Play with those position values to find what you need.