This function adds a single light object to the specified or current axes, and returns the light handle. If a light object already exists, the existing light object handle is returned. If multiple light objects exists, a warning is given, and excess lights are removed.
Cite As
Michael Kutzer (2024). Add Single Light Object (https://www.mathworks.com/matlabcentral/fileexchange/48617-add-single-light-object), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2014a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > Formatting and Annotation > Labels and Annotations > Annotations >
- MATLAB > Graphics > Formatting and Annotation > 3-D Scene Control > Lighting, Transparency, and Shading >
- MATLAB > Graphics > Graphics Objects > Graphics Object Properties >
Find more on Annotations in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |