Home > Common Problem > What does axis mean in matlab

What does axis mean in matlab

coldplay.xixi
Release: 2023-01-13 00:22:59
Original
55578 people have browsed it

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])
Copy after login
axis([xmin xmax ymin ymax zmin zmaxcmin cmax])
Copy after login

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]);
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template