Density plot of clusters
Show older comments
I have a localization plot as shown in the figure-1. The size of X & Y vectors are (6106,1) each. I want to make a density plot (as shown in the figure-2) in which the color map varies with cluster of points (yellow regions in figure-1). i.e. the clusters should be shown differently than the sparsely scattered points. Thanks!

3 Comments
Asvin Kumar
on 1 Jul 2021
https://www.mathworks.com/help/matlab/ref/binscatter.html#mw_403a4fc2-185e-4b04-bdc0-e3d95cb9f897 binscatter might be helpful.
Sajjad Ahmad Khan
on 1 Jul 2021
Sajjad Ahmad Khan
on 1 Jul 2021
Accepted Answer
More Answers (0)
Categories
Find more on Data Distribution 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!
