MATLAB: What is the difference between axis normal, axis square, axis equal, and axis tight

plot axis functions

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

Best Answer

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.