How do you plot multiple best fit lines to one graph?
조회 수: 1 (최근 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!