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 PropertiesSelectionHighlight {on} | offThis property is not used by light objects.Style{infinite} | localParallel or divergent light source. This property determines whether <strong>MATLAB</strong>places the light object at infinity, in which case the light rays are parallel, or atthe location specified by the Position property, in which case the light raysdiverge in all directions. See the Position property.TagstringUser-specified object label. The Tag property provides a means to identifygraphics objects with a user-specified label. This is particularly useful whenconstructing interactive graphics programs that would otherwise need todefine object handles as global variables or pass them as arguments betweencallback routines. You can define Tag as any string.Typestring (read only)Type of graphics object. This property contains a string that identifies the classof graphics object. For light objects, Type is always 'light'.UIContextMenu handle of a uicontextmenu objectThis property is not used by light objects.UserDatamatrixUser specified data. This property can be any data you want to associate withthe light object. The light does not use this property, but you can access it usingset and get.Visible{on} | offLight visibility. While light objects themselves are not visible, you can see thelight on patch and surface objects. When you set Visible to off, the lightemanating from the source is not visible. There must be at least one light objectin the axes whose Visible property is on for any lighting features to be enabled(including the axes AmbientLightColor and patch and surfaceAmbientStrength).See Alsolighting, material, patch, surface2-268

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

Saved successfully!

Ooh no, something went wrong!