help on title of graph
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Image Analyst
2012-7-23
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]);
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Subplots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!