what is the difference between axis normal, axis square, axis equal, and axis tight?

 Réponse acceptée

The easiest way to see this is to experiment with them by doing the different axis styles with the same data plot.
Briefly, axis normal uses the default aspect ratio for the plot, axis square makes the aspect ratio square, axis equal uses the same length for the data units along each axis, and axis tight sets the axis box tightly around the data.

3 commentaires

I agree it's confusing, especially between square and equal, so like Star said, I just have to experiment until I get what I like, because I can never remember and the explanations in the help are ambiguous.
Equal = aspect ratio equal
Square = change aspect ratio to make axis "window/frame/container" square
Unfortunately, the matlab documentation is not clear on this.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by