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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Light PropertiesWhen a handle’s visibility is restricted using callback or off, the object’shandle does not appear in its parent’s Children property, figures do not appearin the root’s CurrentFigure property, objects do not appear in the root’sCallbackObject property or in the figure’s CurrentObject property, and axesdo not appear in their parent’s CurrentAxes property.You can set the root ShowHiddenHandles property to on to make all handlesvisible, regardless of their HandleVisibility settings (this does not affect thevalues of the HandleVisibility properties).Handles that are hidden are still valid. If you know an object’s handle, you canset and get its properties, and pass it to any function that operates on handles.HitTest{on} | offThis property is not used by light objects.Interruptible{on} | offCallback routine interruption mode. Light object callback routines defined forthe DeleteFcn property are not affected by the Interruptible property.Parenthandle of parent axesLight objects parent. The handle of the light object’s parent axes. You can movea light object to another axes by changing this property to the new axes handle.Position[x,y,z] in axes data unitsLocation of light object. This property specifies a vector defining the location ofthe light object. The vector is defined from the origin to the specified x, y, andz coordinates. The placement of the light depends on the setting of the Styleproperty:• If the Style property is set to local, Position specifies the actual locationof the light (which is then a point source that radiates from the location inall directions).• If the Style property is set to infinite, Position specifies the directionfrom which the light shines in parallel rays.Selectedon | offThis property is not used by light objects.2-267

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

Saved successfully!

Ooh no, something went wrong!