how to plot heat map coordinates density?
Show older comments
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
on 14 Mar 2017
0 votes
Try scatteredInterpolant().
Categories
Find more on Region and Image Properties 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!