FUNCTION REFERENCE

ztickformat

Set or query z axis tick label format.

Set or query z axis tick label format.

Syntax

ztickformat(fmt)

Syntax

f = ztickformat

Syntax

ztickformat(ax, ...)

Sets TickLabelFormat on the z-axis ruler (datetime, duration, or numeric format string, or 'auto').

Example

plot3([0 1], [0 1], [0 1]); ztickformat('%.1f'); f = ztickformat   % %.1f

Differences from MATLAB: Categorical rulers do not support TickLabelFormat.

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