Navigation

Operators and Keywords

Function List:

C++ API

figure.m File Reference


Functions

 if (mod(nargs, 2)==1) tmp
 if (ishandle(tmp)&&strcmp(get(tmp,"type"),"figure")) f
 varargin (1)
 elseif (isnumeric(tmp)&&tmp > 0 &&round(tmp)==tmp) f
else error ("figure: expecting figure handle or figure number")
 if (!isempty(cf)&&cf!=0) if(isnan(f)||cf!
endif endif if (rem(nargs, 2)==0) if(isnan(f)||init_new_figure) f
 elseif (nargs > 0) set(f
endif set (0,"currentfigure", f)
else print_usage ()
endif if (nargout > 0) h

Variables

function h
 f = NaN
 init_new_figure = false
endif endif cf = get (0, "currentfigure")

Function Documentation

elseif ( nargs  ,
 
)

elseif ( isnumeric(tmp)&&  tmp,
0 &&  roundtmp = =tmp 
)

else error ( "figure: expecting figure handle or figure number"   ) 

endif if ( nargout  ,
 
)

endif endif if ( rem(nargs, 2)  = =0  ) 

if ( !isempty(cf)&&cf!  = 0  ) 

if ( ishandle(tmp)&&strcmp(get(tmp,"type"),"figure")   ) 

if ( mod(nargs, 2)  = =1  ) 

else print_usage (  ) 

endif set ( ,
"currentfigure"  ,
 
)

varargin (  ) 


Variable Documentation

endif endif cf = get (0, "currentfigure")

f = NaN

Initial value:

init_new_figure = false