Heatmap XY coordinates with image on background
4 views (last 30 days)
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])
m = heatscatter(p263mat(:,12),p263mat(:,13),'/Users/m/Documents/MATLAB/data_science_task','heat.png');