Visualizing density of points?
17 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Seyyed Mohammad Saeed Damadi
am 5 Sep. 2018
Kommentiert: Seyyed Mohammad Saeed Damadi
am 9 Sep. 2018
I have a matrix A with dimension of 288*15581 where 288 is the length of time. Hence, I have 15581 curves. when I plot them I have the picture attached.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/195136/image.jpeg)
The problem is I do not know how many point have been gathered at one specific location. Having A, how can I see the density of points? I think heat map can do it but I have no idea.
0 Kommentare
Akzeptierte Antwort
jonas
am 5 Sep. 2018
You can probably use hist3. See some similar questions here:
Upload some data if you need code.
5 Kommentare
jonas
am 9 Sep. 2018
Bearbeitet: jonas
am 9 Sep. 2018
Im on phone so cannot try it out myself, but add
hist3(... 'edgecolor', 'none')
to your hist function. You can also try 'interp' instead of 'none'. Second question, try
colormap(flipud(gray))
You could also check out thus link for how to combine hist3 with pcolor
Weitere Antworten (1)
Siehe auch
Kategorien
Mehr zu Geographic Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!