12.07.2015 Views

MATLAB Function Reference (Volume 2: Graphics)

MATLAB Function Reference (Volume 2: Graphics)

MATLAB Function Reference (Volume 2: Graphics)

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

lightingPurpose2lightingSelect the lighting algorithmSyntaxDescriptionlighting flatlighting gouraudlighting phonglighting nonelighting selects the algorithm used to calculate the effects of light objects onall surface and patch objects in the current axes.lighting flat selects flat lighting.lighting gouraund selects gouraud lighting.lighting phong selects phong lighting.lighting none turns off lighting.RemarksSee AlsoThe surf, mesh, pcolor, fill, fill3, surface, and patch functions creategraphics objects that are affected by light sources. The lighting command setsthe FaceLighting and EdgeLighting properties of surfaces and patchesappropriately for the graphics object.light, material, patch, surface2-270

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!