1. Point of View (viewpoint) of the coordinate axis: In which direction the whole coordinate system is viewed, which determines the direction and position of the coordinate axis. The view function is used to set the point of view; view ([z y]): (think of the coordinate system as a house, and you are a flying angel. At first, you are in the north of the house, and the altitude is 0, this is when your perspective is view [0 0]. Then you can set the values of Z and Y as needed, respectively, the orientation around the house rotation and the height along the space axis) Z indicates the angle from which the angle is rotated along the Z axis (positive direction), and y indicates the angle from which the angle is rotated along the Y axis (horizontal plane ).
2. Axis display, close, and style
Axis
Off; %Remove axis
AxisTight; %Coordinate Axis
AxisEqual; %Proportional coordinate axis
Axis ([-0.1,8.1,-1.1,1.1]); %Axis display range
%GCA:GCA,H = figure (...);
Set (GCA,'Xlim', [340]); %Data Display range of X axis
Set (GCA,'Xticket', [-3.14, 0, 3.14]); %Mark point on the X axis
Set (GCA,'Xticicklabel', {'-Pi', '0', 'Pi '}); %Mark of the X axis
Set (GCA,'Xticket ',[]); %Clear the mark points on the X axis
Set (GCA,'Xgrid', 'on '); %X axis Grid
Set (GCA,'Xdir', 'reverse '); %Reverse X axis
Set (GCA,'Xcolor', 'red '); %X axis color
3. Set the X and Y axes.
Set (GCA, 'axislocation', 'right ')
%Set the scale of the Y axis to the right.