Is there a way to add a line graph to a scatter plot graph if they have differing equations?

 Réponse acceptée

Mario Malic
Mario Malic le 20 Fév 2021

1 vote

Hello,
The command 'hold on' will retain the existing plots on axes.
scatter()
hold on
plot()

2 commentaires

Jordan Martin
Jordan Martin le 21 Fév 2021
thank you
Mario Malic
Mario Malic le 21 Fév 2021
You're welcome, you can accept my answer (blue button) if it solves your question. Thanks in advance.

Connectez-vous pour commenter.

Plus de réponses (0)

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by