ylabel

Annotates the y-axis.

Syntax

handle = ylabel(str)

handle = ylabel(hAxes, str)

Inputs

str
Name of y-axis.
Type: char | string
Dimension: scalar
hAxes
Axis handle. .
Type: double
Dimension: scalar

Outputs

h
Handle of the label graphics object.

Example

Simple ylabel example.

clf;
handle = ylabel('this is ylabel')
Figure 1. Simple ylabel example