FUNCTION REFERENCE

zticklabels

Set or query z axis tick labels.

Set or query z axis tick labels.

Syntax

zticklabels(labels)

Syntax

zticklabels('auto')

Syntax

L = zticklabels

Syntax

zticklabels(ax, ...)

Sets the z-axis tick labels from a cell array of character vectors, string array, or character matrix, or restores automatic labels with 'auto'.

Example

plot3([0 1], [0 1], [1 3]); zticks(1:3); zticklabels({'low', 'mid', 'high'}); L = zticklabels; numel(L)   % 3

Differences from MATLAB: TeX markup in tick labels is drawn literally.

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