Line graphs and Scatter plots
4 views (last 30 days)
Show older comments
Jordan Martin
on 20 Feb 2021
Commented: Mario Malic
on 21 Feb 2021
Is there a way to add a line graph to a scatter plot graph if they have differing equations?
0 Comments
Accepted Answer
Mario Malic
on 20 Feb 2021
Hello,
The command 'hold on' will retain the existing plots on axes.
scatter()
hold on
plot()
2 Comments
Mario Malic
on 21 Feb 2021
You're welcome, you can accept my answer (blue button) if it solves your question. Thanks in advance.
More Answers (0)
See Also
Categories
Find more on Scatter Plots in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!