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.

1 件のコメント

Donovan Chin
Donovan Chin 2012 年 4 月 5 日
Thanks for the great start. regards

サインインしてコメントする。

カテゴリ

タグ

質問済み:

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