Why does the axis equal command not work in my code?

When I execute the following code :
axis equal
circle = rsmak('circle');fnplt(circle)
the circle still looks like an ellipse

 채택된 답변

MathWorks Support Team
MathWorks Support Team 2009년 6월 27일
This is an expected behavior. The AXIS EQUAL command needs to be used after the PLOT command for it to take effect.
Execute the following code for the circle to appear correctly:
circle = rsmak('circle');fnplt(circle)
axis equal

추가 답변 (0개)

카테고리

도움말 센터File 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