FUNCTION REFERENCE

sgtitle

Title for a whole figure.

Title for a whole figure.

Syntax

sgtitle('Title')

Syntax

sgtitle(fig, 'Title', 'Interpreter', 'none')

Sets one shared title above all axes of the figure. fig is an optional figure handle.

Example

sgtitle('Results')   % shared title

Interpreter defaults to tex; none and latex draw source text literally. The function returns a text handle.

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.