help on title of graph

Asked by Leah on 23 Jul 2012
Latest activity Commented on by Leah on 23 Jul 2012

i have subplots of 16 graphs and i want the title of the graph to be for the first one A, second B, third one C and so on up until P! how do i title the graph that?

0 Comments

Leah

Products

No products are associated with this question.

1 Answer

Answer by Image Analyst on 23 Jul 2012
Accepted answer

Try this:

for k = 1 : 16
	subplot(4, 4, k);
	% Plot your data or show your image...
	caption = sprintf('Plot %c', k+64);
	title(caption, 'FontSize', 14);
end
% Enlarge figure to full screen.
set(gcf, 'units','normalized','outerposition',[0 0 1 1]);

1 Comment

Leah on 23 Jul 2012

thank you

Image Analyst

Contact us