The axes function, described in the Help documentation for MATLAB:
Create axes Graphics object----Creating coordinate system drawing objects
Grammar:
[plain] view plain copy axes axes (' PropertyName ', PropertyValue,...) Axes (h) H = axes (...) Describe:
"Axes creates an axes graphics object in the current figure using default property values"
1) Axes create a coordinate system in the current image window using default properties
2) Axes (' PropertyName ', PropertyValue,...) Creates a coordinate system with some of the specified properties, without specifying the use default property.
3) Axes (h) Set the coordinate system H to the current coordinate system, and h as the first axes of the children property of the figure, set the currentaxes to H
The set and get functions can set and get the properties of the coordinate system
Set (H,namearray,valuearray)
Get (H,propertyarray)
4) h=axes (...) Create a coordinate system and return its handle
Example:
Execution Result:
Reference: http://blog.sina.com.cn/s/blog_61c0518f0100f5rb.html