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

Respuestas (1)

Karan Singh
Karan Singh el 1 de Feb. de 2025

0 votos

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

Categorías

Más información sobre Color and Styling en Centro de ayuda y File Exchange.

Productos

Versión

R2022a

Etiquetas

Preguntada:

el 18 de Jul. de 2023

Respondida:

el 1 de Feb. de 2025

Community Treasure Hunt

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

Start Hunting!

Translated by