PlotWindow.SetSeriesColorPalette(String, Variable) Method

Top 

Description

Sets the color palette to be used when drawing Series in this PlotWindow. The colors in the palette will be applied using the interpolation mode specified. 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(

String colorPalette,


Variable interpolationMode)

 

 

Arguments

colorPalette


Description:

The color palette to use to style the plot.

Valid Values:

Value

Label

"Accessible"

Qualitative: Accessible

"Bright"

Qualitative: Bright

"Classic"

Qualitative: Classic

"Dark"

Qualitative: Dark

"Light"

Qualitative: Light

"Paired"

Qualitative: Paired

"Pastel"

Qualitative: Pastel

"Blues"

Sequential: Blues

"CubeHelix"

Sequential: CubeHelix

"Grays"

Sequential: Grays

"Greens"

Sequential: Greens

"Purples"

Sequential: Purples

"Reds"

Sequential: Reds

"Spectral"

Sequential: Spectral

"BluePurpleYellow"

Diverging: BluePurpleYellow

"GreenCyanBlue"

Diverging: GreenCyanBlue

"GreenYellowRed"

Diverging: GreenYellowRed

"PurpleBlueGreen"

Diverging: PurpleBlueGreen

"YellowRedPurple"

Diverging: YellowRedPurple

 

 

 

interpolationMode


Description:

The behavior which defines how the colors are interpolated.

Valid Values:

Value

Label

0

Interpolate

1

Discrete

 

 

 

 

Syntax

myPlotWindow1.SetSeriesColorPalette(myString1, myVariable1);

 

 

See also

PlotWindow Object

PlotWindow.SetSeriesColorPalette

PlotWindow Guide