How do I get the title and label objects for an axes in MATLAB R2014b?
42 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
MathWorks Support Team
am 7 Okt. 2014
Beantwortet: MathWorks Support Team
am 7 Okt. 2014
How do I get the title and label objects for an axes in MATLAB R2014b?
Akzeptierte Antwort
MathWorks Support Team
am 7 Okt. 2014
Starting in MATLAB R2014b, the text objects used for graph titles and axis labels are no longer children of the axes. Instead, use the Title, XLabel, YLabel, and ZLabel properties of the axes to get the associated text objects.
For example, get the text objects used for the title and x-axis label.
ax = gca;
t = ax.Title;
xl = ax.XLabel;
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Labels and Annotations 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!