time | Calls | line |
|---|
| | 1 | function varargout = xlim(varargin)
|
| | 2 | %XLIM Set or query x-axis limits
|
| | 3 | % XLIM(limits) specifies the x-axis limits for the current axes. Specify
|
| | 4 | % limits as a two-element vector of the form [xmin xmax], where xmax is a
|
| | 5 | % numeric value greater than xmin.
|
| | 6 | %
|
| | 7 | % xl = XLIM returns a two-element vector containing the x-axis limits for
|
| | 8 | % the current axes.
|
| | 9 | %
|
| | 10 | % XLIM('auto') lets the axes choose the x-axis limits. This command sets
|
| | 11 | % the XLimMode property for the axes to 'auto'.
|
| | 12 | %
|
| | 13 | % XLIM('manual') freezes the x-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 | % XLimMode property for the axes to 'manual'.
|
| | 17 | %
|
| | 18 | % m = XLIM('mode') returns the current value of the x-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 | % ___ = XLIM(ax, ___ ) uses the axes specified by ax instead of the
|
| | 23 | % current axes.
|
| | 24 | %
|
| | 25 | % XLIM sets or gets the XLim or XLimMode property of an axes.
|
| | 26 | %
|
| | 27 | % See also PBASPECT, DASPECT, YLIM, ZLIM, THETALIM, RLIM.
|
| | 28 |
|
| | 29 | % Copyright 1984-2016 The MathWorks, Inc.
|
| | 30 |
|
0.021 | 5 | 31 | varargout = matlab.graphics.internal.ruler.rulerFunctions(mfilename, nargout, varargin);
|
| | 32 |
|
< 0.001 | 5 | 33 | end
|
Other subfunctions in this file are not included in this listing.