# ylabel

## Purpose

y-axis labels.

## Synopsis

    ylabel('text')

## Description

`ylabel('text')` adds text to the current two-dimensional plot beside the y-axis, or to the side of a current three-dimensional plot.

Reissuing a `ylabel` command causes the new text to replace the old text.

## Algorithm

For three-dimensional graphics, MATLAB puts the label in the front or side, so that it is never hidden by the plot itself.

## See Also

    text, title, xlabel, zlabel

(c) Copyright 1994 by The MathWorks, Inc.