
Contents |
Control NLFit output quantities and destination.
Minimum Origin Version Required: 8.0 SR5
| Display Name | Variable Name | I/O and Type | Default Value | Description |
|---|---|---|---|---|
| gui |
Input/Output TreeNode | | The tree that contains output quantities and destination. | |
| command |
Input int | | Specify whether to get or set the Nlgui tree.
Option list:
|
This X-Function is usually used with other fitting X-Function to control the output quantities and the destination of the nltree. You can use this command to update the tree to fit report process before nlend.
Details on gui TreeNode
Following script will generate a report without ANOVA table, fitted curve plot and residual plot
// import some sample data newbook; string fname$ = system.path.program$ + "Samples\Curve Fitting\Gaussian.dat"; impasc; //init NLFit object and specify Input range as the col(B) and //associate the NLFit internal tree with LabTalk tree named tt nlbegin 2 gauss tt; // start iterations nlfit; //get the gui output to a tree named gg nlgui gg 1; //disable ANOVA table, fitted curve plot and residual plot output in the report sheet gg.quantities.ANOVAtable=0; gg.graph1.doplot=0; gg.residuals.graph2=0; //update the changes back to gui tree nlgui gg 0; //dump out the tree to check if the changes success gg.=; //generate the report sheet and end fitting process to clean up internal objects nlend 1;