Line graphs and Scatter plots

4 visualizzazioni (ultimi 30 giorni)
Jordan Martin
Jordan Martin il 20 Feb 2021
Commentato: Mario Malic il 21 Feb 2021
Is there a way to add a line graph to a scatter plot graph if they have differing equations?

Risposta accettata

Mario Malic
Mario Malic il 20 Feb 2021
Hello,
The command 'hold on' will retain the existing plots on axes.
scatter()
hold on
plot()
  2 Commenti
Jordan Martin
Jordan Martin il 21 Feb 2021
thank you
Mario Malic
Mario Malic il 21 Feb 2021
You're welcome, you can accept my answer (blue button) if it solves your question. Thanks in advance.

Accedi per commentare.

Più risposte (0)

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by