lighting(type)
lighting(ax, type)
| Parameter | Description |
|---|---|
| ax | target axes. |
| type | none, flat, or gouraud. |
lighting sets FaceLighting and EdgeLighting on surface and patch children in axes.
surf(peaks(30), 'EdgeColor', 'none');
light();
lighting gouraud;
| Version | Description |
|---|---|
| 2.0.0 | initial version |