how to plot heat map with a 2d graph?

11 visualizzazioni (ultimi 30 giorni)
Mohamed Abdullah
Mohamed Abdullah il 18 Lug 2023
Risposto: Karan Singh il 1 Feb 2025
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

Risposte (1)

Karan Singh
Karan Singh il 1 Feb 2025
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

Categorie

Scopri di più su Color and Styling in Help Center e File Exchange

Prodotti


Release

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by