FUNCTION REFERENCE

title

Set the plot title.

Set the plot title.

Syntax

title('My plot')

Syntax

[t, s] = title(txt, subtxt)

Syntax

[t, s] = title(ax, txt, subtxt)

Syntax

title('My plot', 'Interpreter', 'none', 'Color', [1 0 0])

Text accepts character text and bounded multiline cell or string arrays. Interpreter defaults to tex. Use none for literal text or latex for the supported LaTeX subset. RGB Color is also accepted on axes.

Example

title('Signal')   % title shown above the axes

Differences from MATLAB: Only a subset of text properties and TeX markup is supported.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.