give title below a figure
Ältere Kommentare anzeigen
is it possible to give title below a figure?? if so can someone show me how to do it?
2 Kommentare
Muruganandham Subramanian
am 18 Jan. 2013
Do you need to include 'title' Below xlabel?
Elysi Cochin
am 18 Jan. 2013
Akzeptierte Antwort
Weitere Antworten (1)
Jan
am 18 Jan. 2013
Create a TEXT object in the current axes and set it outside the plot area:
text(0.5 -0.1, 'Sub title', 'Units', 'normalized')
Does this work? I cannot test it currently.
What about xlabel?
Or create an invisible axes in the background:
FullAxesH = axes('Units', 'normalized', 'Position', [0,0,1,1], ...
'Visible', 'off');
Now get the position of each subplot:
H = subplot(1,3,1);
Pos = get(H, 'Position');
and use this to define the position of the TEXT.
Kategorien
Mehr zu Title finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!