ylabel
Label y-axis.
πŸ“Syntax
ylabel(text)
ylabel(ax, text)
ylabel(..., propertyName, propertyValue)
go = ylabel(...)
πŸ“₯Input Arguments
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.
πŸ“€Output Arguments
Parameter Description
go a graphics object: text type.
πŸ“„Description

ylabel('text') labels the y-axis of the current axes.

πŸ’‘Examples
f = figure();
x = linspace(-1, 1);
y = sin(2*pi*x);
plot(x, y);
ylabel('Y axis Label - Unicode γƒ‰γƒ©γ‚΄γƒ³γƒœγƒΌγƒ«Y(γ‚Όγƒƒγƒˆ)')
Example illustration
πŸ”—See Also
texttitle
πŸ•”Version History
Version Description
1.0.0 initial version
Edit this page on GitHub