Setting axis position sometimes requires entering the command twice

I have been having a problem when trying to set the Position of a Figure Axis. I will set it the first time with 'Units' set to 'Normalized':
ax.Position = [0.1 0.15 0.55 0.8];
The axis is incorrectly resized. If I reenter the same line of code, the axis becomes correctly sized. Regardless of how many times I reenter it, it is the correct size.
Any ideas? Thanks!

回答 (0 件)

この質問は閉じられています。

質問済み:

2017 年 3 月 28 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by