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

5 vues (au cours des 30 derniers jours)
MathWorks Support Team
MathWorks Support Team le 27 Juin 2009
When I execute the following code :
axis equal
circle = rsmak('circle');fnplt(circle)
the circle still looks like an ellipse

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 27 Juin 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

Plus de réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by