Can we use cftool to plot only the final smooth curve and not the original data?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Jasnoor Singh
el 19 de Mayo de 2016
Comentada: Jasnoor Singh
el 20 de Mayo de 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 comentarios
Respuesta aceptada
Walter Roberson
el 20 de Mayo de 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.
Más respuestas (0)
Ver también
Categorías
Más información sobre Fit Postprocessing en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!