shading
Set color shading of surfaces and patches
Description
shading
sets the color shading of
type
Surface
and Patch
objects in the current axes according
to the specified shading type. For example, shading flat
sets the color
shading of mesh line segments and faces to a constant color determined by the color value at
the endpoint of the segment or the corner of the face that has the smallest index or
indices.
shading
sets appropriate values for the
EdgeColor
and FaceColor
properties depending on
whether the Surface
or Patch
objects represent meshes or
solid surfaces.
Examples
Input Arguments
Version History
Introduced before R2006a