Why does changing the axis limits after issuing AXIS EQUAL shrink the plot area?

12 次查看(过去 30 天)
After issuing the following command in the MATLAB Command Window:
axis equal
changing the axis limits of the plot using the AXIS command will cause the area of the plot in the figure to shrink.

采纳的回答

MathWorks Support Team
编辑:MathWorks Support Team 2021-5-4
Issuing the command AXIS EQUAL changes some axes properties from their default values. This is described in the documentation for the AXIS command under "Algorithm", which can be read by entering the following at the MATLAB command prompt:
doc axis
To prevent the plot area from changing when specifying the axes limits after having issued AXIS EQUAL, first issue the command AXIS NORMAL to restore the axes properties to their default values.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by