Description
Returns the a set of (x,p) point for drawing a cumulative curve of the input data.
Syntax
object.GetCumulativePoints(numPoints as Integer, xValues() as Double, yValues() as Double, Optional min, Optional max, Optional cumulativeDescending as Boolean = False)
Arguments
numPoints (Required Integer) – the number of points to retrieve.
xValues (Required Array of Doubles) – the array to receive the x-values of the cumulative curve. This array will be automatically dimensioned from (1 to numPoints).
yValues (Required Array of Doubles) – the array to receive the y-values of the cumulative curve. This array will be automatically dimensioned from (1 to numPoints)
min (Optional Double) – the minimum value of the graph. If not supplied, the minimum data point of the data set will be used.
max (Optional Double) – the maximum value of the graph. If not supplied, the maximum data point of the data set will be used.
cumulativeDescending (Optional Boolean) – set to TRUE to make the graph points cumulative descending instead of cumulative ascending.
Return Value
None.
Example
'Get 20 points across the range of the data:
Dim x() as Double, y() as Double
InputObj.GetCumulativePoints 20, x(), y()