Mapping Toolbox    
lightm

Project light objects on the current map axes

Syntax

Description

h = lightm(lat,lon) projects a light object at the coordinates lat and lon. The handle, h, of the object can be returned.

h = lightm(lat,lon,PropertyName,PropertyValue,...) allows the specification of any property/value pair supported by the standard MATLAB light command.

h = lightm(lat,lon,alt) allows the specification of an altitude, alt, for the light object. When omitted, the default is an infinite light source altitude.

Examples

See Also
light
Create light (see online MATLAB Function Reference)
lightmui
GUI to control position of lights on a globe or 3D map


  legs lightmui