how to plot heat map with a 2d graph?

19 vues (au cours des 30 derniers jours)
Mohamed Abdullah
Mohamed Abdullah le 18 Juil 2023
Réponse apportée : Karan Singh le 1 Fév 2025 à 12:29
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

Réponses (1)

Karan Singh
Karan Singh le 1 Fév 2025 à 12:29
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

Catégories

En savoir plus sur Colormaps dans Help Center et File Exchange

Produits


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by