PlotTemplate Property

Measurement Studio User Interface

PlotTemplate Property

Syntax

Set CWGraph.PlotTemplate

Data Type

CWPlot

Purpose

Returns the CWPlot object to use as a template for new plots.

Remarks

You can use the Plots property page to set properties on the template plot. The default values for the template plot are used as default property values for newly created plots created with the CWPlots.Add method, and the axes of the template plots determine the coordinates for plot area events.

Example

'Set a plot template property programmatically
CWGraph1.PlotTemplate.LineColor = vbRed

See Also

CWPlot

PlotAreaMouseDown