dimensions of a uipanel seem strange

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??

 Accepted Answer

Orion
Orion on 5 Nov 2014
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 Comments

Whats the difference between pixles and points for unit?
pixel depends on your resolution and points is a length mesure.
see this link more detailed :

Sign in to comment.

More Answers (0)

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Asked:

on 5 Nov 2014

Commented:

on 5 Nov 2014

Community Treasure Hunt

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

Start Hunting!