Skip to content

lighting

plot · scripts/plot/appearance/lighting.m

: lighting flat
: lighting gouraud
: lighting phong
: lighting none
: lighting (ax, mode)

Set the lighting method of the surface and patch objects of an axes.

The "FaceLighting" property of every surface and patch below the axes (default: current axes) is set to mode. No light objects are created or removed.