how to plot heat map coordinates density?

2 visualizzazioni (ultimi 30 giorni)
Yan Zhu
Yan Zhu il 14 Mar 2017
Risposto: Image Analyst il 14 Mar 2017
I have a 1512*1 struct data which contains the coordinates of 1512 points. I want to plot the distribution density heat map according to this coordinates(i.e. the region contain more points will displayed with warmer colour, less points with cooler colour). The coordinates are botain with
s = regionprops(BWbi, 'Centroid');
and I want to plot the heat map overlay on image call 'patch'

Risposte (1)

Image Analyst
Image Analyst il 14 Mar 2017
Try scatteredInterpolant().

Categorie

Scopri di più su Thermal Analysis in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by