PlotWindow.SetSeriesColorPalette(Array, Variable) Method

Top 

Description

Sets the color palette to be used when drawing Series in this PlotWindow. The palette will be created based on the provided array of colors and the interpolation mode specified. When using the 'Interpolation' mode, colors will be chosen based on the weight in the RGB color space. When using the 'Explicit/Qualitative' mode, colors will be used as specified, repeating if the number of Series exceeds the number of colors. Any series added after this method is called will not be affected.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

Click here to see the documentation for this object in millisecond timing precision mode.

 

Method Signature

PlotWindow.SetSeriesColorPalette(

Array colors,


Variable interpolationMode)

 

 

Arguments

colors


Description:

The colors to use to define the palette.

Required Size:

At least 2

 

 

interpolationMode


Description:

The behavior which defines how the colors are interpolated.

Valid Values:

Value

Label

0

Interpolate

1

Discrete

 

 

 

 

Syntax

myPlotWindow1.SetSeriesColorPalette(myArray1, myVariable1);

 

 

See also

PlotWindow Object

PlotWindow.SetSeriesColorPalette

PlotWindow Guide