help on title of graph

조회 수: 5 (최근 30일)
Leah
Leah 2012년 7월 23일
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?

채택된 답변

Image Analyst
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]);
  댓글 수: 1
Leah
Leah 2012년 7월 23일
thank you

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Title에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by