How to plot this colormap correctly?
Show older comments
I am trying to plot a heat map of temperature along depth and time. However the plot does not match the provided data. For instance at z = -8612 m I have T = 80.57°C, but it would be something near 165°C.
I attached my .mat files, the depth, time and temperature data. My code to plot is:
% Plotting
figure;
imagesc(time, depth, temp);
colormap('jet');
colorbar;
xlabel('Time');
ylabel('Depth');
title('Temperature Heat Map');
set(gca, 'YDir', 'normal');
Could someone please give me any idea of what is happening here?
Thanks!

Accepted Answer
More Answers (0)
Categories
Find more on Blue 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!