DADiSP Worksheet Functions > Function Categories > Plot Attributes > SETSTRIPCHARTY
Specifies the y-axis coordinates for one or more traces of a stripchart.
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:
|
Nothing, the displayed y-axis coordinates are set.
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.
setstripcharty(W1, -10, 10, 2)
Sets the y-axis range of the 2nd trace in W1 to -10 to 10.
setstripcharty(W1, -10, 10, {2, 3})
Sets the y-axis range of the 2nd and 3rd traces in W1 to -10 to 10.
SETSTRIPCHARTY expands or compresses the target trace y axis of a stripchart. The remaining stripchart attributes are preserved.