Navigation

Operators and Keywords

Function List:

C++ API

grid.m File Reference


Functions

function grid (varargin)[ax
 if (nargs > 2) print_usage()
 elseif (nargs==0) grid_on
 if (ischar(x)) if(strcmpi(x
 elseif (strcmpi(x,"on")) grid_on
 elseif (strcmpi(x,"minor")) if(nargs
 if (strcmpi(x2,"on")) minor_on
 elseif (strcmpi(x2,"off")) minor_on
else print_usage ()
 if (minor_on) grid_on
endif else error ("grid: argument must be a string")
endif endif if (grid_on) set(ax
else set (ax,"xminorgrid","off","yminorgrid","off","zminorgrid","off")
endif else set (ax,"xgrid","off","ygrid","off","zgrid","off")

Variables

function varargin
function nargs = __plt_get_axis_arg__ ("grid", varargin{:})
 grid_on
 minor_on
else x = varargin{1}
endif endif xgrid
endif endif on
endif endif ygrid
endif endif zgrid
 xminorgrid
 yminorgrid
 zminorgrid

Function Documentation

elseif ( strcmpi(x2,"off")   ) 

elseif ( strcmpi(x,"minor")   ) 

elseif ( strcmpi(x,"on")   ) 

elseif ( nargs  = =0  ) 

endif else error ( "grid: argument must be a string  ) 

function grid ( varargin   ) 

endif endif if ( grid_on   ) 

if ( minor_on   ) 

if ( strcmpi(x2,"on")   ) 

if ( ischar(x)   ) 

if ( nargs  ,
 
)

else print_usage (  ) 

endif else set ( ax  ,
"xgrid"  ,
"off"  ,
"ygrid"  ,
"off"  ,
"zgrid"  ,
"off"   
)

else set ( ax  ,
"xminorgrid"  ,
"off"  ,
"yminorgrid"  ,
"off"  ,
"zminorgrid"  ,
"off"   
)


Variable Documentation

Initial value:

 (strcmp (get (ax, "xgrid"), "on")
             && strcmp (get (ax, "ygrid"), "on")
             && strcmp (get (ax, "zgrid"), "on"))

Initial value:

 (strcmp (get (ax, "xminorgrid"), "on")
              && strcmp (get (ax, "yminorgrid"), "on")
              && strcmp (get (ax, "zminorgrid"), "on"))

function nargs = __plt_get_axis_arg__ ("grid", varargin{:})

on

function varargin

else x = varargin{1}