title
Sets the title of the plot.
Syntax
h = title(str)
h = title(hAxes, str)
h = title(..., property, value, ...)
Inputs
- str
- Text to be set as title.
- 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 title graphics object.
Examples
clf;
h = title('empty axes with title');
clf;
h = title({'empty axes', 'with multi-line title'});
clf;
h = title('empty axis', 'color', [50 100 250], 'fontangle', 'italic');