Nom

shading — Add short description here.

Calling Sequence

shading cmd

Parameters

cmd

string : allowed values are 'flat', 'faceted', 'interp'

Description

This command changes the FaceColor and EdgeColor of graphics leaves belonging to the current axes.

CommandEdgeColorFacecolor
flatnoneflat
faceteddefaultflat
interpnoneinterp

Examples

a=rand(10,10);
subplot(221);
pcolor(a);
shading flat    
subplot(222);
pcolor(a);
shading faceted   
subplot(223);
pcolor(a);
shading interp  
subplot(224);
pcolor(a,'Facecolor','interp');

Authors

St?phane Mottelet