help on title of graph
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Akzeptierte Antwort
Image Analyst
am 23 Jul. 2012
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]);
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Title finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!