Skip to content

shading

plot · scripts/plot/appearance/shading.m

: shading flat
: shading interp
: shading faceted
: shading (ax, mode)

Set the color shading of the surface and patch objects of an axes.

flat

one color per face, no edges

interp

colors interpolated across each face, no edges

faceted

one color per face with black edges

Every surface and patch below the axes (default: current axes) is changed, including those inside groups; other objects are untouched.