How do I get the title and label objects for an axes in MATLAB R2014b?
9 ビュー (過去 30 日間)
古いコメントを表示
MathWorks Support Team
2014 年 10 月 7 日
回答済み: MathWorks Support Team
2014 年 10 月 7 日
How do I get the title and label objects for an axes in MATLAB R2014b?
採用された回答
MathWorks Support Team
2014 年 10 月 7 日
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 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Labels and Annotations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!