Can we use cftool to plot only the final smooth curve and not the original data?
1 回表示 (過去 30 日間)
古いコメントを表示
![](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 件のコメント
採用された回答
Walter Roberson
2016 年 5 月 20 日
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.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Fit Postprocessing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!