xlabel
Annotates the x-axis.
Syntax
h = xlabel(str)
h = xlabel(hAxes, str)
h = xlabel(..., property, value, ...)
Inputs
- str
 - Name of the x-axis.
 - hAxes
 - Axis handle.
 - property
 - Properties that control the appearance or behavior of the graphics object.
 - value
 - Value of the properties.
 
Outputs
- h
 - Handle of the label graphics object.
 
Examples
clf;
handle = xlabel('this is xlabel')Figure 1. Simple xlabel example
clf;
handle = xlabel('this is xlabel', 'fontsize', 12, 'fontweight', 'bold')
Figure 2. Optional arguments in the xlabel command