Navigation

Operators and Keywords

Function List:

C++ API

axes.m File Reference


Functions

 if (!isempty(idx)&&length(varargin) >=2 *idx) cf
 varargin ([2 *idx-1, 2 *idx])
 set (ancestor(cf,"figure"),"currentaxes", tmp)
 if (length(tmp)==1 &&ishandle(tmp)&&strcmp(get(tmp,"type"),"axes")) parent
 set (0,"currentfigure", parent)
 set (parent,"currentaxes", tmp)
else error ("axes: expecting argument to be a scalar axes handle")
endif endif if (nargout > 0) h

Variables

function h
else cf = gcf ()
endif tmp = __go_axes__ (cf, varargin{:})

Function Documentation

else error ( "axes: expecting argument to be a scalar axes handle"   ) 

endif endif if ( nargout  ,
 
)

if ( length(tmp)  = =1 &&ishandle(tmp)&&strcmp(get(tmp,"type"),"axes")  ) 

if ( !isempty(idx)&&length(varargin) >=2 *  idx  ) 

set ( parent  ,
"currentaxes"  ,
tmp   
)

set ( ,
"currentfigure"  ,
parent   
)

set ( ancestor(cf,"figure")  ,
"currentaxes"  ,
tmp   
)

varargin (  ) 


Variable Documentation

else cf = gcf ()

Initial value:

 axes (varargin)

  if (nargin == 0 || nargin > 1)


    idx = find (strcmpi (varargin(1:2:end), "parent"), 1, "first")

else tmp = __go_axes__ (cf, varargin{:})