Add a curve to an existing graph. If no input is given, an empty curve is added for later modification. If either x or y is specified, both must be. In each case, data can be specified as the name, ID, or a pointer to an Dataset object, or a raw array of real numbers. There is no requirement to provide x data in the same format as y data, but the number of data points must be the same. Optionally a multiplication factor may be given, which can be used to exagerate the y values (it has no effect on the x values)
X | optional graph dataset | The name or ID of a graph dataset, or a pointer to a Dataset object. graph dataset for X |
Y | optional graph dataset | The name or ID of a graph dataset, or a pointer to a Dataset object. graph dataset for Y |
factorX | optional double | multiplier for X |
factorY | optional double | multiplier for Y |
Return value | IFCurve | The curve created |
Back to Graph
Back to Overview