Set Coefficient Names in Curve Fit Dialog

hegedus
Posts: 284
Joined: 2009-03-21
Location: United States

Hi,

I am working on some custom fitting functions and I was wondering about Coef Names on the Coefficients tab.

With the builtin function such as exp the coef names are listed as Y0, A, and Tau. Is is possible for me to have specific names as opposed to the more general w_0, w_1, and w_2? Also can they then be used in the annotation text?

Andy


Posts: 1868
Joined: 2007-06-29
Location: United States

If you make a fitting function using the New Fit Function dialog, you will get a function with comments that give the dialog the information it needs to do that. You don't have to use the dialog, but I would recommend making a dummy function in the dialog to get all those comments. Then you can edit the comments to suit.

John Weeks
WaveMetrics, Inc.
support@wavemetrics.com


hegedus
Posts: 284
Joined: 2009-03-21
Location: United States

Thanks John,

I did a test case and see how the curvefitdialog text is structured. I have always created fit functions directly in the command window so I was unaware of that feature.

Something to add to the wish list: Could there be the option to show the equation in the annotation box. This would be especially nice for user defined functions where the fit type is not necessarily sufficient.

Andy


Posts: 1868
Joined: 2007-06-29
Location: United States

I take it you mean the comment equation, instead of showing the code as it does now. That would allow you to put something other than the code in that comment in order to get a more user-friendly display. That seems reasonable. I'll make a note of it.

John Weeks
WaveMetrics, Inc.
support@wavemetrics.com


Back to top