figure size in matlab is not precise on the screen

3 次查看(过去 30 天)
Hi,
I run a a very simple command to set the figure size:
set(gcf, 'units','centimeters','position',[2 3 20 10])
I expect that the size of the figure would exactly match with what I set above but when I measure it on the screen, it deviates quite a bit from the set values?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Interactive Control and Callbacks 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by