Contour plot size according to axis ratio
Show older comments
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 :)

Answers (1)
Star Strider
on 8 Mar 2019
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.
Categories
Find more on Graphics Object Properties 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!