FUNCTION REFERENCE

zlabel

Label the z axis.

Label the z axis.

Syntax

zlabel('text')

Syntax

zlabel(ax, 'text')

The label is drawn centred beside the z axis of a 3-D axes. The axes ZLabel property is its text object.

Example

plot3([0 1], [0 1], [0 1]); zlabel('Height')   % z axis label

Differences from MATLAB: Literal text only; Color and font properties of the z label are not supported yet.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.