MATLAB: Can CFTOOL of the Curve Fitting Toolbox display the fit equation in the plot window

cftoolCurve Fitting Toolboxequationfit

There is no option to display the fit equation on plot of the data and the equation. This would allow a visual comparison of different fits.

Best Answer

The ability of CFTOOL of the Curve Fitting Toolbox to display the fit equation in the plot window is not available.
As a workaround, try writing directly to the figure handle. If CFTOOL is the only figure or GUI window open, the following code will write a string to the figure window at a position selected by the user:
f = findall(0,'Type','Figure')
set(f(1),'HandleVisibility','on')
gtext('hi')