Heatmap XY coordinates with image on background
1 次查看(过去 30 天)
显示 更早的评论
Hi I'm trying to create a heatmap of where on a pitch certain event occur.
but I have some problems plotting the heat map with a background.
I have used the heatscatter function
%%
img = imread('PITCH1.jpg');
image('CData',img,'XData',[0 105],'YData',[0 70])
hold on
m = heatscatter(p263mat(:,12),p263mat(:,13),'/Users/m/Documents/MATLAB/data_science_task','heat.png');
hold off
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Distribution Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!