Size of displayed figure is different from position property
2 views (last 30 days)
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.
0 Comments
Answers (1)
Stephen23
on 11 Jan 2016
Edited: Stephen23
on 11 Jan 2016
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
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.
See Also
Categories
Find more on Tables 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!