The meaning of axis in matlab is: the axis function is usually used to set the coordinate value range in drawing. Enter doc axis or help axis in the command window of matlab to get help information for this function.
The operating environment of this article: windows7 system, Dell G3 computer, matlab R2020a.
The meaning of axis in matlab is:
In matlab programming, the axis function is usually used to set coordinates in drawings Value range. Enter doc axis or help axis in the command window of matlab to get help information for this function.
There are many calling formats for axis in matlab. The following two forms are commonly used:
axis([xmin xmax ymin ymax])
axis([xmin xmax ymin ymax zmin zmaxcmin cmax])
xmin and xmax respectively represent the upper and lower limits of the x and y axes when drawing.
Example:
% axis example clc close all x=-5:5; y=x; plot(x,y); axis([-6 6 -10 10]);
Related free learning recommendations:php programming(video)
The above is the detailed content of What does axis mean in matlab. For more information, please follow other related articles on the PHP Chinese website!