FUNCTION REFERENCE
zlim
Set or query z axis limits.
Set or query z axis limits.
Syntax
zlim([a b])Syntax
zlim('auto')Syntax
zlim('manual')Syntax
L = zlimSyntax
zlim(ax, ...)Automatic limits span the z data of the axes (2-D lines count as z = 0) by the same rule as x and y. zlim('manual') freezes the current limits. axis([x1 x2 y1 y2 z1 z2]) sets all three; axis on a 3-D axes returns six values.
Example
plot3([0 1], [0 1], [2 5]); L = zlim % [2 5]Differences from MATLAB: Infinite ends such as [0 inf] are supported for auto-scaling one side.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.