| << ylabel | Graphics functions | zlabel >> |
| lims = ylim() |
| ylim([ymin, ymax]) |
| ylim('auto') |
| ylim('manual') |
| m = ylim('mode') |
| ylim(ax, ...) |
y-coordinates: vector or matrix.
enable automatic limit selection.
freeze the y-axis limits at their current value.
returns the current y-axis limits mode.
a scalar graphics object value: parent container, specified as a axes.
two-element vector: [ymin, ymax]
'auto' or 'manual'.
ylim get or set the limits of the y-axis for the current plot.
x = linspace(-1, 1);
y = sin(2*pi*x);
plot(x, y);
lim = ylim()
m = ylim('mode')
| Version | Description |
|---|---|
| 1.0.0 | initial version |
Allan CORNET