SETSTRIPCHARTCOLORMODE

Purpose:

Sets the color inheritance for the traces of a stripchart plot.

Syntax:

SETSTRIPCHARTCOLORMODE(win, mode)

win

-

Optional. A Window. Defaults to the current Window.

mode

-

An integer, the color inheritance mode:

0:

inherit original series colors (default)

1:

set each trace to a separate color

2:

set each trace to the color of the primary series

Example:

W1: gnorm(100, 1)

W2: gnorm(100,1);overlay(W1,lred)

 

setplottype(W2, 7);setstripchartcolormode(W2, 0)

 

W2 contains a stripchart with two series. The color of each series is inherited from the original series. In this case, the color of the second series is set to light red.

Remarks:

See STRIPCHART or SETPLOTTYPE to create a stripchart plot.

 

The stripchart color inheritance mode of all Windows can be set with the STRIPCHARTCOLORMODE parameter. For example,

 

 setconf("stripchartcolormode", "1")

 

Sets the default color mode to separate colors.

See Also:

SETPLOTTYPE

SETSTRIPCHARTALT

SETSTRIPCHARTDIR

SETSTRIPCHARTGAP

SETSTRIPCHARTY

STRIPCHART