How do you plot multiple best fit lines to one graph?
5 次查看(过去 30 天)
显示 更早的评论
I have one graph and need to plot two best fit lines on it and find where they intersect. I can plot one best fit line but I don't know how to plot two on the same graph. Is there any way to do this?
Thanks.
1 个评论
Alex Mcaulley
2019-12-12
Can you provide the code? Without more information, maybe this helps you
hold on
回答(1 个)
Ridwan Alam
2019-12-12
编辑:Ridwan Alam
2019-12-12
On cftool, you can open new fits for the same data in new tabs. So ... no, not on the same figure.
But .. you can save the fitted models and outputs to workspace and plot on same figure.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Interpolation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!