How to create 'density' plot from 2d scatter data
Show older comments
How to create 'density' plot from 2d scatter data?
I have 2D scatter data, and i would like to determine the density of points (count) within a user defined 'grid' over the data.
The density would then be used to contour with or a type of heat map
i would like to make a plot like the following: http://www.gpsworld.com/gis/gss-weekly/gis-meets-march-madness-using-spatial-data-analyze-basketball-team-and-player-perform
regards, Donovan
Answers (2)
Dr. Seis
on 5 Apr 2012
1 vote
Check out the example for hist3 in the Help navigation window... maybe useful here.
1 Comment
Donovan Chin
on 5 Apr 2012
AnnArborObserver
on 31 Aug 2016
1 vote
Categories
Find more on Scatter Plots 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!