I want plot like this as i have attched here. I am new to MATLAB, so don't know how to do binning afd all. I am also attaching data.

댓글 수: 3

Max Heiken
Max Heiken 2021년 7월 3일
For binning in 2D, take a look at the documentation of the histcounts2 function.
Arun Kumar Singh
Arun Kumar Singh 2021년 7월 3일
But i have 3 bariables, x y and z (as colour indication2).
dpb
dpb 2021년 7월 3일
Look at hist3; there's an example "Tiled Histogram View" that's what you're looking for -- I don't have mapping TB so no idea about adding on top of the map.
There may be specialized routines in the TB for such things; hist3 can return the counts data for other use; there's also the lower-level accumarray
Not sure about whether the heatmap do you any good or not; it's perhaps worth a look-see...

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Data Distribution Plots에 대해 자세히 알아보기

질문:

2021년 7월 3일

댓글:

dpb
2021년 7월 3일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by