title

Puts a title on the plot.

Syntax

h = title(str)

h = title(hAxes, str)

Inputs

str
Title to be put in.
Type: char | string
Dimension: scalar
hAxes
Axis handle.
Type: double
Dimension: scalar

Outputs

h
Handle of the title graphics object.

Example

Simple title example.

clf;
h = title('empty axes with title');
Figure 1. Simple title example