title
Set the title of the current axes.
Syntax
Section titled “Syntax”h = title(str)h = title(h, str)h = title(str, name, value, ...)Description
Section titled “Description”Adds or modifies the title text on the current axes (or the axes specified by h). Trailing name-value pairs control text properties ('FontSize', 'FontWeight', 'Color').
Example
Section titled “Example”title('Temperature vs Time')