ylim
Set and query range of y axis.
Syntax
ylim()
ylim([Y_lo Y_hi])
ylim(hAxis, ...])
Inputs
- Y_lo, Y_hi
- Lowest and highest y ranges.
- hAxes
- Axis handle.
Example
Simple ylim example:
clf;
ylim([2 8])
ylim()
ans = [Matrix] 1 x 2
2 8