dimensions of a uipanel seem strange

13 views (last 30 days)
Jason
Jason on 5 Nov 2014
Commented: Orion on 5 Nov 2014
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
Jason
Jason on 5 Nov 2014
Whats the difference between pixles and points for unit?
Orion
Orion on 5 Nov 2014
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

Community Treasure Hunt

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

Start Hunting!