surfl
Display a lighted surface.
📝Syntax
surfl(Z)
surfl(X, Y, Z)
surfl(..., 'light')
surfl(parent, ...)
h = surfl(...)
📄Description

surfl displays a surface with lighting-based reflectance stored in the surface color data.

surfl(..., 'light') creates an infinite light and returns the surface and light handles.

💡Examples
Lighted surface.
surfl(peaks(30));
shading interp;
Example illustration
🔗See Also
surflight
Edit this page on GitHub