Navigation

Operators and Keywords

Function List:

C++ API

image_viewer.m File Reference


Functions

 if (isempty(view_fcn)) if(isempty(view_cmd)&&compare_versions(__gnuplot_version__()
endif endif if (nargin > 3) print_usage()
endif if (nargout > 0) ocmd
endif if (nargin > 0) if(nargin< 3) zoom
 if (nargin< 2) fcn
 if (nargin > 1) if(isa(fcn
else error ("image_viewer: expecting second argument to be a function handle")
endif endif if (nargin > 2) if(isnumeric(zoom)&&isscalar(zoom)&&isreal(zoom)) view_zoom
else error ("image_viewer: expecting third argument to be a real scalar")

Variables

 function [ocmd, ofcn, ozoom]
persistent view_fcn = "gnuplot_internal"
persistent view_zoom = 1
 ofcn = view_fcn
 ozoom = view_zoom
endif endif view_cmd = cmd

Function Documentation

else error ( "image_viewer: expecting third argument to be a real scalar"   ) 

else error ( "image_viewer: expecting second argument to be a function handle"   ) 

endif endif if ( nargin  ,
 
)

if ( nargin  ,
 
)

if (  ) 

endif if ( nargin  ,
 
)

endif if ( nargout  ,
 
)

endif endif if ( nargin  ,
 
)

if ( isempty(view_fcn  ) 


Variable Documentation

function[ocmd, ofcn, ozoom]

Initial value:

 image_viewer (cmd, fcn, zoom)

  persistent view_cmd

function_handle view_fcn = "gnuplot_internal"

view_zoom = 1