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

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일

1 개 추천

Check out the example for hist3 in the Help navigation window... maybe useful here.

카테고리

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

태그

질문:

2012년 4월 5일

답변:

2016년 8월 31일

Community Treasure Hunt

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

Start Hunting!

Translated by