How can I do scatter density plot inmatlab?

20 views (last 30 days)
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?

Answers (2)

Walter Roberson
Walter Roberson on 8 Feb 2023
  2 Comments
Meghraj Kc
Meghraj Kc on 8 Feb 2023
Dear Walter,
Non of these are working. Would you please suggest me any other technique?
Walter Roberson
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.

Sign in to comment.


Image Analyst
Image Analyst on 9 Feb 2023
What about simply using scatter :
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:

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!