why axis is used in matlab?
axis (MATLAB Function Reference) axis manipulates commonly used axes properties. ... The returned values are the current axes' XLim , Ylim , and ZLim properties. axis auto sets MATLAB to its default behavior of computing the current axes' limits automatically, based on the minimum and maximum values of x, y, and z data.