How can I do scatter density plot inmatlab?
20 views (last 30 days)
Show older comments
I have two variables such as Blue_ELM and Blue_USGS each of size of 779963x1, I want to do the scatter density plot so that I can see where my most of data points lies? How can I do this?
0 Comments
Answers (2)
Walter Roberson
on 8 Feb 2023
See https://www.mathworks.com/matlabcentral/fileexchange/65166-densityplot-x-y-varargin and https://www.mathworks.com/matlabcentral/fileexchange/31726-data-density-plot and https://www.mathworks.com/matlabcentral/answers/225934-using-matlab-to-plot-density-contour-for-scatter-plot#answer_184607
If you have Mapping Toolbox then geodensityplot
2 Comments
Walter Roberson
on 8 Feb 2023
No, if you are having trouble installing Add-Ons, and problems calling accumarray() then we need to debug those problems first before we hope to make progress on your task at hand. If none of the approaches I posted the links to work, then you have serious problems with your MATLAB installation.
Image Analyst
on 9 Feb 2023
scatter(Blue_ELM , Blue_USGS)
xlabel('Blue_ELM')
ylabel('Blue_USGS')
If you have any more questions, then attach your data and code to read it in with the paperclip icon after you read this:
0 Comments
See Also
Categories
Find more on Startup and Shutdown 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!