Add heatmap into uifigure (No App Manager)

7 visualizaciones (últimos 30 días)
Julien Maxime
Julien Maxime el 5 de Oct. de 2022
Respondida: Simon Chan el 5 de Oct. de 2022
Hello,
I am manually building a GUI using uifigure() with several graphs. Among those graphs, I would like to display a heatmap but I have the error:
" Error using heatmap
HeatmapChart cannot be a child of UIAxes.
Error in TimeLapseInterpolatedMap (line 116)
heatObj4 = heatmap(ax4, data(:,:,2)); "
I have tried the pcolor command but it deform the dimension of the heatmap. I will not post the whole code here as it would be long but if you need any more information I will be happy to give some.
Thank you !

Respuestas (1)

Simon Chan
Simon Chan el 5 de Oct. de 2022
You may use uipanel instead of uiaxes for heatmap

Categorías

Más información sobre Colormaps en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by