Im trying to match an image to the size of a uipanel. so for starters, I thought getting the width and height of the uipanel would be useful. surely the width and height are wrong, as its at least twice as high as it is wide??

 채택된 답변

Orion
Orion 2014년 11월 5일

0 개 추천

Hi Jason,
this is normal because your panel unit is in characters
if you switch to pixel, then your width will be smaller than the height.

댓글 수: 2

Jason
Jason 2014년 11월 5일
Whats the difference between pixles and points for unit?
Orion
Orion 2014년 11월 5일
pixel depends on your resolution and points is a length mesure.
see this link more detailed :

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Just for fun에 대해 자세히 알아보기

태그

질문:

2014년 11월 5일

댓글:

2014년 11월 5일

Community Treasure Hunt

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

Start Hunting!

Translated by