http://blog.csdn.net/yumengkk/article/details/6841164
1, the axis of view (viewpoint): from which direction to see the entire coordinate system, which determines the direction and position of the axis, through the view function to achieve the setting of the viewpoint;
view ([Z y]): (think of the coordinate system as a house, and oneself is a flying angel, initially you in the north of the house, elevation angle of 0 position, this is when your perspective is view[0 0], then you can set the values of Z and y, respectively, the direction of rotation around the house, And the height of the princess along the space axis) z represents the angle at which the angle of view rotates along the z axis (positive direction), and y represents the angle at which the angle of view rotates along the y-axis (horizontal plane)
2, axis display, close, style
Axis off; % Remove axes
Axis tight; % Compact Axis
Axis equal; % equal than axis
Axis ([-0.1, 8.1,-1.1, 1.1]); The display range of the% axis
% GCA:GCA, h=figure (...);
Set (GCA, ' Xlim ', [3 40]); % x-axis data display range
Set (GCA, ' XTick ', [ -3.14,0,3.14]); % x-axis tick points
Set (GCA, ' Xticklabel ', {'-pi ', ' 0 ', ' pi '}); % x-axis notation
Set (GCA, ' XTick ', []); % clear tick points on X axis
Set (GCA, ' XGrid ', ' on '); % x-axis grid
Set (GCA, ' xdir ', ' reverse '); % reversal X-axis
Set (GCA, ' xcolor ', ' red '); % x-axis color
3. Set x, y axis position
Set (GCA, ' yaxislocation ', ' right ')% y-axis scale setting