how to plot heat map with a 2d graph?
18 ビュー (過去 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
![motor map](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1436628/motor%20map.png)
回答 (1 件)
Karan Singh
2025 年 2 月 1 日 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
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!