Functions | |
if (nargin< 1) print_usage() | |
else | if (nargout > 1)[h |
newplot () | |
unwind_protect_cleanup | axes (oldax) |
end_unwind_protect endif | if (nargout==1) xs |
varargin (1) | |
if (ismatrix(y)) if(isvector(y)) y | |
varargin (1:2) | |
Variables | |
function [xs, ys] | |
else | xs |
else | ys = __stairs__ (false, varargin{:}) |
else | oldax = gca () |
unwind_protect | axes (ax) |
endif | x = 1:rows (y) |
y = varargin{2} |
if | ( | ismatrix(y) | ) |
end_unwind_protect endif if | ( | nargout | = =1 |
) |
else if | ( | nargout | , | |
1 | ||||
) |
if | ( | ) |
newplot | ( | ) |
varargin | ( | 1:2 | ) |
varargin | ( | 1 | ) |
unwind_protect axes(ax) |
y = varargin{2} |