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

Respuestas (2)

Dr. Seis
Dr. Seis el 5 de Abr. de 2012

1 voto

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

Categorías

Etiquetas

Preguntada:

el 5 de Abr. de 2012

Respondida:

el 31 de Ag. de 2016

Community Treasure Hunt

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

Start Hunting!

Translated by