FreeMat: ZLIM Adjust Z Axis limits of plot

FreeMat

- Main Page
- Related Pages

ZLIM Adjust Z Axis limits of plot

Section: Handle-Based Graphics

# Usage

There are several ways to use `zlim` to adjust the Z axis limits of a plot. The various syntaxes are

       zlim
       zlim([lo,hi])
       zlim('auto')
       zlim('manual')
       zlim('mode')
       zlim(handle,...)

The first form (without arguments), returns a 2-vector containing the current limits. The second form sets the limits on the plot to `[lo,hi]`. The third and fourth form set the mode for the limit to `auto` and `manual` respectively. In `auto` mode, FreeMat chooses the range for the axis automatically. The `zlim('mode')` form returns the current mode for the axis (either `'auto'` or `'manual'`). Finally, you can specify the handle of an axis to manipulate instead of using the current one.