필터 지우기
필터 지우기

how to get the x axis label from figure handle?

조회 수: 29 (최근 30일)
Dubstep Dublin
Dubstep Dublin 2016년 3월 27일
댓글: Dubstep Dublin 2016년 3월 29일
I have got the handle to the figure using s=hgload(myimagefile);
I would like to know the x axis label in the image.
Thanks
  댓글 수: 1
Dubstep Dublin
Dubstep Dublin 2016년 3월 29일
I have a related question.
How do I get the figure handle and subsequently get the x axes label in Matlab 2012?

댓글을 달려면 로그인하십시오.

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2016년 3월 27일
a=findobj(h,'type','axe')
x=get(get(a,'xlabel'),'string')

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Axis Labels에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by