DADiSP Worksheet Functions > Function Categories > Data Manipulation and Editing > SETYOFFSET
Specifies the y-offset of an array.
SETYOFFSET(series, yoffset)
series |
- |
Optional. Any series or table. Defaults to the current Window. |
yoffset |
- |
A real, the desired starting Y value of the series. |
W1: density(rand(10))
setyoffset(W1, -10.0)
sets the Y offset of the array in W1 to -10.0. The original data plots from 0.0 to 10.0 on the Y axis. The modified data plots from -10.0 to 0.0.
setyoffset(W1, yoffset(W2))
Sets the Y offset of W1 to the Y offset of W2.
The Y offset of a standard series is ignored.
If a series is not specified, the current window is used.