how to plot heat map with a 2d graph?
34 次查看(过去 30 天)
显示 更早的评论
I am facing some troubles
to plot this graph attached in the image , I dont know which commands to use , since it has 2d graph with a heat map

回答(1 个)
Karan Singh
2025-2-1
As Dyuman suggested, you can use the "contourf" or "pcolor" functions to create a heatmap over a 2D grid and overlay the boundary using "plot". Here’s more information to explore on this topic.
Karan
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Colormaps 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!