how to plot heat map with a 2d graph?

I am facing some troublesmotor map 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
Karan Singh 2025 年 2 月 1 日

0 投票

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

カテゴリ

ヘルプ センター および File ExchangeMATLAB についてさらに検索

製品

リリース

R2022a

質問済み:

2023 年 7 月 18 日

回答済み:

2025 年 2 月 1 日

Community Treasure Hunt

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

Start Hunting!

Translated by