MATLAB: Is there an error in the documentation of the Curve Fitting Toolbox for the example on different plotting options

curveCurve Fitting Toolboxfittingplotpredfpredfuncpredopredobs

The example can be seen at the following URL:
When I execute the following command:
plot(fit1,'k-',x,y,'b.','predf','predo',0.99);
I receive the following error:
??? Error using ==> cfit/plot
Argument 8 is incorrect

Best Answer

This bug has been fixed for Release 14 (R14). For previous releases, please read below for any possible workarounds:
This is an error within the documentation for the Curve Fitting Toolbox 1.1 (R13.0.1) within the example for the PLOT function.
The documentation should read as follows:
plot(fit1,'k-',x,y,'b.','predfunc','predobs',0.99);