Heatmap from a matrix with scattered values

5 visualizaciones (últimos 30 días)
Odin Søgnen
Odin Søgnen el 13 de Jun. de 2015
Respondida: Walter Roberson el 13 de Jun. de 2015
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

Respuesta aceptada

Walter Roberson
Walter Roberson el 13 de Jun. de 2015

Más respuestas (0)

Categorías

Más información sobre Data Distribution Plots en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by