How can I enhance scatter3() visibility with a heatmap?
조회 수: 19 (최근 30일)
이전 댓글 표시
The data I'm working with contains coordinates of players partaking in a game.
I am trying to plot them in 3D in order to see which parts of the map are the most frequently inhabitated. So far, the work is mostly done by:
scatter3(XYZ(:,1),XYZ(:,2),XYZ(:,3),0.5)
There are 10^6 sets of coordinates in the data, and the "map" is very cluttered on the points of interest, making it indistinguishable which of these points is favored the most. Is there any way to involve a coloring that would scale based on the global point density?
Thanks in advance.
댓글 수: 0
답변 (1개)
the cyclist
2023년 3월 6일
I also recommend taking a look at the MATLAB Plot Gallery, to see if any examples look like what you want. You can pull code from there, too (including for the two functions I just mentioned).
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Data Distribution Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!