xlabel(text)
xlabel(ax, text)
xlabel(..., propertyName, propertyValue)
go = xlabel(...)
| 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. |
xlabel('text') labels the x-axis of the current axes.
f = figure();
x = linspace(-1, 1);
y = sin(2*pi*x);
plot(x, y);
xlabel('X axis Label - Unicode γγ©γ΄γ³γγΌγ«X(γΌγγ)')
| Version | Description |
|---|---|
| 1.0.0 | initial version |