How to plot a dispersion diagram like this?
Show older comments
hello everyone,
I need to plot such a diagram in matlab but I don't know how exactly I can do this. may you please help me to know how I would be able to plot a dispersion diagram like this one below?

2 Comments
dpb
on 3 Nov 2020
Just plot each line in succession after hold on
If you have all the data at once, put into 2D array by column for each variable and each will be plotted in one call to plot()
Include the discontinuous pieces to draw on top of the axes; will have to have the limits consistent to draw on the axis itself.
Amir Farrokhnejad
on 5 Nov 2020
Accepted Answer
More Answers (0)
Categories
Find more on 2-D and 3-D 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!