FUNCTION REFERENCE
zticks
Set or query z axis tick values.
Set or query z axis tick values.
Syntax
zticks(ticks)Syntax
zticks('auto')Syntax
zticks('manual')Syntax
t = zticksSyntax
zticks(ax, ...)Sets the z-axis tick positions (strictly increasing finite vector), restores automatic ticks with 'auto', or freezes current ticks with 'manual'. With no arguments, returns the current tick values.
Example
plot3([0 1], [0 1], [0 2]); zticks([0 1 2]); t = zticks % [0 1 2]Differences from MATLAB: Categorical or datetime tick values are not supported yet.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.