How can I do scatter density plot inmatlab?
25 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(2 个)
Walter Roberson
2023-2-8
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 个评论
Walter Roberson
2023-2-8
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
2023-2-9
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!