How to click into the heatmap created inside a UI panel?
4 次查看(过去 30 天)
显示 更早的评论
I’m working on building an interactive Heatmap in Matlab UI. I've added a UI Panel to the interface and populated the heatmap within the panel. Now that I know how to get the row and column upon clicking the Heatmap cell, the issue now is I’m not able to actually click into the heatmap within the UI Panel. I tried using the “WindowButtonDownFcn”, but was only able to click into any blank area within the UI Panel. When I click on the heatmap in the UI panel, there is no response at all.
May I know how I could click into the heatmap created inside the UI Panel? Thanks!
3 个评论
Adam Danz
2025-1-31
imagesc is a common alternative to heatmap. However, imagesc lacks many features in heatmap such as interactively sorting columns and labels, categorical zoom that snaps to edges, and the automatic labeling of cells.
Here's a demo on using imagesc to imitate heatmap
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Distribution Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!