Navigation

Operators and Keywords

Function List:

C++ API

shading.m File Reference


Functions

function shading (varargin)[ax
 if (nargin!=1 &&nargin!=2) print_usage()
 h2 (:)]
 if (strcmpi(mode,"flat")) set(h
 set (h,"edgecolor","none")
 elseif (strcmpi(mode,"interp")) set(h
 elseif (strcmpi(mode,"faceted")) set(h
 set (h,"edgecolor",[0 0 0])
else error ("unknown argument")

Variables

function varargin = __plt_get_axis_arg__ ("shading", varargin{:})
endif mode = varargin{1}
 h1 = findobj (ax, "type", "patch")
 h2 = findobj (ax, "type", "surface")
 obj = [h1(:)
for n
 facecolor
 flat
 interp

Function Documentation

elseif ( strcmpi(mode,"faceted")   ) 

elseif ( strcmpi(mode,"interp")   ) 

else error ( "unknown argument"   ) 

h2 (  ) 

if ( strcmpi(mode,"flat")   ) 

if ( nargin!  = 1 &&nargin!=2  ) 

set ( ,
"edgecolor"   
)

set ( ,
"edgecolor"  ,
"none"   
)

function shading ( varargin   ) 


Variable Documentation

h1 = findobj (ax, "type", "patch")

h2 = findobj (ax, "type", "surface")

endif mode = varargin{1}

for n

Initial value:

 1:numel(obj)
    h = obj(n)

obj = [h1(:)

function varargin = __plt_get_axis_arg__ ("shading", varargin{:})