Size of displayed figure is different from position property
Show older comments
Hi,
I am producing a figure with a set position
set(h,'Position',[l b w h])
but the figure's position as displayed on my screen is different from the above position. I checked whether the position changed somehow by my code but
get(h,'Position') gives [l b w h]
Does anyone know why? It's really frustrating.
Thanks.
Answers (1)
It may be that you should be controlling the OuterPosition rather than the position property. Also make sure that the units are correct for your code.
2 Comments
Giorgos Minas
on 11 Jan 2016
Stephen23
on 11 Jan 2016
Can you explain in more details how it is different? Some supporting information would give us more idea of what is happening. A screen shot would be nice, and can you please copy-and-paste your code too.
Categories
Find more on Printing and Saving 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!