zlim

Set and query range of z axis.

Syntax

zlim()

zlim([Z_lo Z_hi])

zlim(hAxis, ...])

Inputs

Z_lo, Z_hi
Lowest and highest z ranges.
Type: double | integer
Dimension: scalar
hAxes
Axis handle.
Type: double
Dimension: scalar

Example

Simple zlim example:

clf;
zlim([2 8])
zlim()
ans = [Matrix] 1 x 2
2  8
Figure 1. Simple zlim example