Navigation

Operators and Keywords

Function List:

C++ API

stairs.m File Reference


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}

Function Documentation

unwind_protect_cleanup axes ( oldax   ) 

if ( ismatrix(y)   ) 

end_unwind_protect endif if ( nargout  = =1  ) 

else if ( nargout  ,
 
)

if (  ) 

newplot (  ) 

varargin ( 1:2   ) 

varargin (  ) 


Variable Documentation

Initial value:

 stairs (varargin)

  [ax, varargin, nargin] = __plt_get_axis_arg__ ("stairs", varargin{:})

else oldax = gca ()

endif else x = 1:rows (y)

y = varargin{2}

else ys = __stairs__ (false, varargin{:})