Azzera filtri
Azzera filtri

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

34 visualizzazioni (ultimi 30 giorni)
Donovan Chin
Donovan Chin il 5 Apr 2012
Risposto: AnnArborObserver il 31 Ago 2016
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

Risposte (2)

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

AnnArborObserver
AnnArborObserver il 31 Ago 2016
Another option is histogram2.

Community Treasure Hunt

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

Start Hunting!

Translated by