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.
Command | EdgeColor | Facecolor |
flat | none | flat |
faceted | default | flat |
interp | none | interp |
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');