How to add a line to the scatter?
Show older comments
Hello everybody,
I have a problem to find a code which plot the line on my scatter plot. I have upload a pictures of scatter and the example line which I have drawn manualy.
If someone can help, I would be glad.
Thank you
6 Comments
Ameer Hamza
on 30 Apr 2020
Do you have x and y coordinate of the line? Or do you want to fit a line to the scatter points?
Ilkin Abdullayev
on 30 Apr 2020
Ameer Hamza
on 30 Apr 2020
Can you share the data points?
Ilkin Abdullayev
on 30 Apr 2020
Ameer Hamza
on 30 Apr 2020
yes, You can attach that as a .mat file.
Ilkin Abdullayev
on 30 Apr 2020
Accepted Answer
More Answers (0)
Categories
Find more on Scatter Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!