How do you plot multiple best fit lines to one graph?

4 ビュー (過去 30 日間)
Helena
Helena 2019 年 12 月 12 日
編集済み: Ridwan Alam 2019 年 12 月 12 日
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
Alex Mcaulley 2019 年 12 月 12 日
Can you provide the code? Without more information, maybe this helps you
hold on

サインインしてコメントする。

回答 (1 件)

Ridwan Alam
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.

カテゴリ

Help Center および File ExchangeInterpolation についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by