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

38 views (last 30 days)
what is the difference between axis normal, axis square, axis equal, and axis tight?

Accepted Answer

Star Strider
Star Strider on 7 Jul 2016
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.
  2 Comments
Image Analyst
Image Analyst on 7 Jul 2016
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.
HiWave
HiWave on 16 Mar 2020
Equal = aspect ratio equal
Square = change aspect ratio to make axis "window/frame/container" square

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!