ylimPlot limits for the
ylim([a b])a and b, respectively, and switches to manual mode.a and b should be scalars with a < b.ylimylim('mode')'auto' or 'manual'. ylim('auto')'auto' mode, and limits are generated automatically. ylim('manual')'manual' mode.If the hold state is set to off, execution of the next plotting function will reset it to auto mode. Otherwise, the mode and limits remain unchanged.
The following actions change the limit mode:
| Action | Line Plot Being Shown | Surface Plot Being Shown |
|---|---|---|
| Zoom | Switch to manual | Unchanged |
| Pan | Switch to manual | Unchanged |
| Rotate | Not applicable | Unchanged |
| Reset view | Switch to auto | Unchanged |