Borrar filtros
Borrar filtros

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

1 visualización (últimos 30 días)
Helena
Helena el 12 de Dic. de 2019
Editada: Ridwan Alam el 12 de Dic. de 2019
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 comentario
Alex Mcaulley
Alex Mcaulley el 12 de Dic. de 2019
Can you provide the code? Without more information, maybe this helps you
hold on

Iniciar sesión para comentar.

Respuestas (1)

Ridwan Alam
Ridwan Alam el 12 de Dic. de 2019
Editada: Ridwan Alam el 12 de Dic. de 2019
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.

Categorías

Más información sobre Interpolation 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!

Translated by