Can we use cftool to plot only the final smooth curve and not the original data?
1 view (last 30 days)
Show older comments
Jasnoor Singh
on 19 May 2016
Commented: Jasnoor Singh
on 20 May 2016
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/164700/image.png)
I am getting the following image using cftool. As you can see, the blue dots are the original data values and hence I cannot clearly see the smooth fitted curve that I want. Is there a way to not plot the original values and get the final smooth curve only?
Thanks.
0 Comments
Accepted Answer
Walter Roberson
on 20 May 2016
I did not find any way to do it directly through the tool. However, if you ask it to generate code, then look inside the generated code to the line
plot( fitresult, [xData, yData], zData );
If you change that to
plot( fitresult )
then the original data will not be plotted.
More Answers (0)
See Also
Categories
Find more on Fit Postprocessing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!