Add heatmap into uifigure (No App Manager)

조회 수: 7 (최근 30일)
Julien Maxime
Julien Maxime 2022년 10월 5일
답변: Simon Chan 2022년 10월 5일
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 !

답변 (1개)

Simon Chan
Simon Chan 2022년 10월 5일
You may use uipanel instead of uiaxes for heatmap

카테고리

Help CenterFile Exchange에서 Colormaps에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by