Example: Spinning Light

3D Graph Control

Example: Spinning Light

Demonstrates several lighting options available on the 3D Graph.

Description

Lighting is useful for visualizing the slopes of peaks and valleys in three-dimensional data. This example turns on lighting by setting the Lighting property on the graph to True and enabling one of the lights in the CWLights collection. It then rotates the light by changing the latitude and longitude of the light.

Controls, Properties, Methods, and Events

This example demonstrates the following controls, properties, methods, and events:

CWGraph3D

ViewLatitude, Lighting, Plots, Lights

CWPlot3D

FillColor, ColorMapStyle

CWLight

Enabled, Latitude, Longitude

Example Location

Samples\UI\3DGraph\Spinning Light