Home >Common Problem >What does axis mean in matlab

What does axis mean in matlab

coldplay.xixi
coldplay.xixiOriginal
2020-12-07 09:47:2255579browse

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.

What does axis mean in matlab

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn