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')
clf;
handle = xlabel('this is xlabel', 'fontsize', 12, 'fontweight', 'bold')