# ylabel

Label y-axis.

## Syntax

* ylabel(text)
* ylabel(ax, text)
* ylabel(..., propertyName, propertyValue)
* go = ylabel(...)

## Input argument

* 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 argument

* go - a graphics object: text type.

## Description

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

## Example

```matlab
f = figure();
x = linspace(-1, 1);
y = sin(2*pi*x);
plot(x, y);
ylabel('Y axis Label - Unicode ドラゴンボールY(ゼット)')
```

![](https://160667757-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPvJ6mJve3gz5MU4d1%2Fuploads%2Fgit-blob-ec930dffc9188c20c8bb3186e09bbcc69eb88eaa%2Fylabel_98FAB712.svg?alt=media)

## See also

[text](text), [title](title).

## History

| Version | Description     |
| ------- | --------------- |
| 1.0.0   | initial version |

## Author

Allan CORNET
