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

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

Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 27 Jun. 2009
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

Weitere Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by