ExportFitData Method
The ExportFitData method exports plot data for a fit curve to a worksheet window. Returns an Object.
Syntax
object.ExportFitData (useDefault, startingX, endingX, increment, numberOfPts)
| Parameter | Type | Description |
| useDefault | Long | required; True = Default values are used. False = startingX, endingX, increment, and/or numberOfPts are used. |
| startingX | Variant | optional; The Starting X value. This is the first X value exported to the worksheet. |
| endingX | Variant | optional; The Ending X value. This is the last X value exported to the worksheet. |
| increment | Variant | optional; The number of X units that are between rows in the worksheet. |
| numberOfPts | Variant | optional; The number of points that are exported to the worksheet. This always includes the Starting X and Ending X values. |
Example 1
This example shows how to export the fit information to a worksheet using the default values.
FitCurve.ExportFitData(True)
Example 2
This example shows how to export the fit information to a worksheet using custom values. Starting X = 30, Ending X = 40, and Number of Points = 200.
Fit1_Linear.ExportFitData(False,30,40,,200)
Example 3
This example shows how to export the fit information to a worksheet using custom values. Starting X = 30, Ending X = 40, and Increment = 1.
Fit1_Linear.ExportFitData(False,30,40,1,)
Used by: AutoFitPlot
object