2.1.11 addtool_sigmoidal_fit

Menu Information

Gadgets: Quick Sigmoidal Fit

Brief Information

Perform sigmoidal curve fitting on data plot within a region of interest

Additional Information

Minimum Origin Version Required: 8.6 SR0

X-Function Execution Options

Please refer to the page for additional option switches when accessing the x-function from script

Variables

Display
Name
Variable
Name
I/O
and
Type
Default
Value
Description
Fit Mode mode

Input

int

1
Specify the fitting mode, polynomial fit or nonlinear curve fit.
  • 0=Polynomial Fit
  • 1=Nonlinear Curve Fit
Function func

Input

string

<unassigned>
Specify the fitting function.
ROI Box trroi

Input

TreeNode

<unassigned>
Specify the ROI settings. The fitting will be performed within the ROI box.
Label Box trtable

Input

TreeNode

<unassigned>
Specify the settings of the result text box content that is pasted on the source graph.
Report trreport

Input

TreeNode

<unassigned>
Specify the output destinations of the fitting results.
Fit Curve trcurve

Input

TreeNode

<unassigned>
Specify the fitted curve settings.
Parameters trparam

Input

TreeNode

<unassigned>
Specify the initial values for the parameters
Fit Control trfitctrl

Input

TreeNode

<unassigned>
Specify the weighting method for the fitting.

Description

This function is used to add a rectangle onto the plot to perform sigmoidal curve fitting. The fitted curve displays on the graph, which will be updated automatically while you move the rectangle box. By clicking on the triangle button on the right side of the rectangle box, you can change the fitting function, output fitting results to a destination worksheet, and customize the ROI (range of interesting) box. For more details about perform quick fitting on a plot, please refer to Quick Sigmoidal Fit Gadget in our User Guide.

Related X-Functions

fitpoly, nlfit, nlbeginr, nlbegin, nlend


Keywords:regression, ROI