Heat map from csv data
31 views (last 30 days)
Star Strider on 5 Aug 2022
It looks like a surf plot viewed from the top.
Try this —
T1 = readtable('https://www.mathworks.com/matlabcentral/answers/uploaded_files/1088620/results.csv', 'VariableNamingRule','preserve')
Hours = reshape(T1.Hour, 24, );
T_del_C = reshape(T1.('T delivered (C)'), 24, );
xv = datetime(2021,1,0, 'Format','MMM') + days(1:size(T_del_C,2));
yv = Hours(:,1);
It comes reasonably close to the plot image in the original post.
Make approopriate changes to get the result you want.