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.

lightRootFigureAxesUicontrolUimenuUicontextmenuImageLightLinePatchRectangleSurfaceTextSetting Default PropertiesYou can set default light properties on the axes, figure, and root levels:set(0,'DefaultLightProperty',PropertyValue...)set(gcf,'DefaultLightProperty',PropertyValue...)set(gca,'DefaultLightProperty',PropertyValue...)Where Property is the name of the light property and PropertyValue is thevalue you are specifying. Use set and get to access light properties.The following table lists all light properties and provides a brief description ofeach. The property name links take you to an expanded description of theproperties.Property Name Property Description Property ValueDefining the LightColorColor of the light produced by thelight objectValues: ColorSpecPosition Location of light in the axes Values: x-, y-, z-coordinatesin axes unitsDefault: [1 0 1]Style Parallel or divergent light source Values: infinite, localControlling the Appearance2-262

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

Saved successfully!

Ooh no, something went wrong!