Plot linear regression without data points
9 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello,
I have a figure with a scatter plot and I want to add a linear regression with different data. I only want to plot the regression line and not the data.
I use
mdl = fitlm(x,y);
plot(mdl)
Is there a way to exlude the data points of x and y in my plot?
Thanks a lot in advance!
0 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Linear and Nonlinear Regression 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!