SETSTRIPCHARTY

Purpose:

Specifies the y-axis coordinates for one or more traces of a stripchart.

Syntax:

SETSTRIPCHARTY(win, ybottom, ytop, trace)

win

-

Optional. Zero or more series to stack. Defaults to the series in the current Window.

ybottom

-

A real. Bottom Window boundary.

ytop

 

A real. Top Window boundary.

trace

-

Optional, an integer or series. The target trace or traces:

-1:

all traces

0:

current focus (default)

> 0:

target focus

Returns:

Nothing, the displayed y-axis coordinates are set.

Example:

W1: stripchart(randn(100, 3));setstripcharty(-3, 3, -1)

 

W1 contains a stripchart of 3 traces. The y-axis for all three traces is set to -3 to 3.

Example:

setstripcharty(W1, -10, 10, 2)

 

Sets the y-axis range of the 2nd trace in W1 to -10 to 10.

Example:

setstripcharty(W1, -10, 10, {2, 3})

 

Sets the y-axis range of the 2nd and 3rd traces in W1 to  -10 to 10.

Remarks:

SETSTRIPCHARTY expands or compresses the target trace y axis of a stripchart. The remaining stripchart attributes are preserved.

See Also:

SETSTRIPCHARTALT

SETSTRIPCHARTCOLORMODE

SETSTRIPCHARTDIR

SETSTRIPCHARTGAP

SETY

STRIPCHART