Navigation

Operators and Keywords

Function List:

C++ API

orient.m File Reference


Functions

 if (nargs > 0 &&numel(varargin{1})==1 &&isfigure(varargin{1})) cf
 varargin (1)
endif if (nargs==0) retval
 elseif (nargin==1) orientation
 if (strcmpi(orientation,"landscape")||strcmpi(orientation,"portrait")) set(cf
orientation else error ("orient: unknown orientation")
endif else print_usage ()
endif endfunction!shared !set (gcf(),"visible","off")%!assert(orient
endif endfunction!shared
portrait!test 
orient ('landscape')%!assert(orient
endif endfunction!shared
portrait!test landscape!test 
orient ('portrait')%!assert(orient
endif endfunction!shared
portrait!test landscape!test
portrait 
!fail ("orient('nobody')","unknown orientation")%!assert(orient

Variables

function retval
else cf = gcf ()
 paperorientation = "portrait"

Function Documentation

endif endfunction !shared portrait !test landscape !test portrait !fail ( "orient('nobody')"  ,
"unknown orientation"   
)

endif endfunction !shared !set ( gcf()  ,
"visible"  ,
"off"   
)

elseif ( nargin  = =1  ) 

orientation else error ( "orient: unknown orientation"   ) 

Type Constraints

if ( strcmpi(orientation,"landscape")||strcmpi(orientation,"portrait")   ) 

endif if ( nargs  = =0  ) 

if ( nargs  ,
0 &&  numelvarargin{1} = =1 &&isfigure(varargin{1}) 
)

endif endfunction !shared portrait !test landscape !test orient ( 'portrait'   ) 

endif endfunction !shared portrait !test orient ( 'landscape'   ) 

endif else print_usage (  ) 

varargin (  ) 


Variable Documentation

else cf = gcf ()

else paperorientation = "portrait"

function retval

Initial value: