title(text)
title(ax, text)
title(..., propertyName, propertyValue)
go = title(...)
| Parameter | Description |
|---|---|
| text | Text to display: character vector, string scalar, string array or cell array. |
| ax | a scalar graphics object value: parent container, specified as a axes. |
| propertyName | a scalar string or row vector character. |
| propertyValue | a value. |
| Parameter | Description |
|---|---|
| go | a graphics object: text type. |
title('text') adds the title to the current axes.
Visible property is inherited from the parent if not explicitly defined.
f = figure();
x = linspace(-1, 1);
y = sin(2*pi*x);
plot(x, y);
title('Unicode γγ©γ΄γ³γγΌγ«Z(γΌγγ)', 14);
| Version | Description |
|---|---|
| 1.0.0 | initial version |
| 1.10.0 | Visible property is inherited from the parent if not explicitly defined. |