How to create 'density' plot from 2d scatter data

44 次查看(过去 30 天)
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
regards, Donovan

回答(2 个)

Dr. Seis
Dr. Seis 2012-4-5
Check out the example for hist3 in the Help navigation window... maybe useful here.

AnnArborObserver
AnnArborObserver 2016-8-31
Another option is histogram2.

类别

Help CenterFile Exchange 中查找有关 Scatter Plots 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by