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

 Akzeptierte Antwort

Orion
Orion am 5 Nov. 2014

0 Stimmen

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 Kommentare

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Deep Learning Toolbox finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 5 Nov. 2014

Kommentiert:

am 5 Nov. 2014

Community Treasure Hunt

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

Start Hunting!

Translated by