how to plot heat map coordinates density?

2 views (last 30 days)
Yan Zhu
Yan Zhu on 14 Mar 2017
Answered: Image Analyst on 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'

Answers (1)

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

Categories

Find more on Thermal Analysis in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!