How do I get the title and label objects for an axes in MATLAB R2014b?
조회 수: 11 (최근 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!