time | Calls | line |
---|
| | 1 | function varargout = ylim(varargin)
|
| | 2 | %YLIM Set or query y-axis limits
|
| | 3 | % YLIM(limits) specifies the y-axis limits for the current axes. Specify
|
| | 4 | % limits as a two-element vector of the form [ymin ymax], where ymax is a
|
| | 5 | % numeric value greater than ymin.
|
| | 6 | %
|
| | 7 | % yl = YLIM returns a two-element vector containing the y-axis limits for
|
| | 8 | % the current axes.
|
| | 9 | %
|
| | 10 | % YLIM('auto') lets the axes choose the y-axis limits. This command sets
|
| | 11 | % the YLimMode property for the axes to 'auto'.
|
| | 12 | %
|
| | 13 | % YLIM('manual') freezes the y-axis limits at the current values. Use
|
| | 14 | % this option if you want to retain the current limits when adding new
|
| | 15 | % data to the axes using the hold on command. This command sets the
|
| | 16 | % YLimMode property for the axes to 'manual'.
|
| | 17 | %
|
| | 18 | % m = YLIM('mode') returns the current value of the y-axis limits mode,
|
| | 19 | % which is either 'auto' or 'manual'. By default, the mode is automatic
|
| | 20 | % unless you specify limits or set the mode to manual.
|
| | 21 | %
|
| | 22 | % ___ = YLIM(ax, ___ ) uses the axes specified by ax instead of the
|
| | 23 | % current axes.
|
| | 24 | %
|
| | 25 | % YLIM sets or gets the YLim or YLimMode property of an axes.
|
| | 26 | %
|
| | 27 | % See also PBASPECT, DASPECT, XLIM, ZLIM, THETALIM, RLIM.
|
| | 28 |
|
| | 29 | % Copyright 1984-2016 The MathWorks, Inc.
|
| | 30 |
|
0.009 | 2 | 31 | varargout = matlab.graphics.internal.ruler.rulerFunctions(mfilename, nargout, varargin);
|
| | 32 |
|
< 0.001 | 2 | 33 | end
|
Other subfunctions in this file are not included in this listing.