Can we use cftool to plot only the final smooth curve and not the original data?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Jasnoor Singh
le 19 Mai 2016
Commenté : Jasnoor Singh
le 20 Mai 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 commentaires
Réponse acceptée
Walter Roberson
le 20 Mai 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.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Fit Postprocessing dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!