Heatmap from a matrix with scattered values

조회 수: 5 (최근 30일)
Odin Søgnen
Odin Søgnen 2015년 6월 13일
답변: Walter Roberson 2015년 6월 13일
Hi!
I have measured temperatures in differents locations on one floor of a building. I would like to make a heatmap out of these values, but since the values are scattered I need to fill in the blank spots to see the temperature between my measurement points. I don't know how to do this two-dimensionally. How do I do this in MatLAB?
It is a 25x25 matrix which I have attached (Excel). I am already using this code to get a heatmap from my matrix.
A = [25X25 matrix]; %Matrix to draw
colormap('hot'); % set colormap
imagesc(A); % draw image and scale colormap to values range
colorbar; % show color scale

채택된 답변

Walter Roberson
Walter Roberson 2015년 6월 13일

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Distribution Plots에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by