Contour plot size according to axis ratio

Hello!
I am trying to adjust my plot to the axis ratios. I have a longer x-axis than y-axis, and want the plot window to take this into account so i get below: (as the the area is not reckangular). Hwo can this be done?
THanks in advance :)

回答(1 个)

One option would be to use:
axis equal
This will result in using the same spatial units on all axes.
There are also other options, such as using the 'Position' property of the figure object.

类别

在 帮助中心 和 File Exchange 中查找有关 Graphics Object Properties 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by