curveproduct

Multiplies multiple curves which have overlapping x vectors.

Syntax

curveproduct("option", mathref1, mathref2,...mathrefn)

Argument

"option"
The "option" argument can be one of two types, range or list.
range
Each pair of math references, or curves, defining a range.
range is inclusive. For example, curveproduct("range", p1w1c1.y, p1w1c4.y) mulitplies the y values of four curves (curve 1 through curve 4 on page 1 window 1).
range always has an equal number of arguments: 2, 4, 6, and so on.
list
The operation is performed on each curve math reference that follows. Every vector will be multiplied.
list can have any number of arguments.
mathref1, mathref2,...mathrefn
The curve math reference. The parameters must be legal math references to the y vectors of XY curves. Only absolute math references are supported, for example:
p#w#c#.y
Relative curve math references to the same window such as c1.x are not supported.

Example

To multiply curves:
x vector = curvesync("range", p1w1c1.x, p1w1c7.x, p1w1c10.x, p1w1c10.x)
y vector = curveproduct("range", p1w1c1.y, p1w1c7.y, p1w1c10.y, p1w1c10.y)