How can I do scatter density plot inmatlab?
조회 수: 22 (최근 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에서 Scatter Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!