フィルターのクリア

Adding contour lines to heatmap

12 ビュー (過去 30 日間)
Ishani Mukherjee
Ishani Mukherjee 2020 年 10 月 12 日
コメント済み: KSSV 2020 年 10 月 13 日
Using a 100X100 matrix, I have genertated this heatmap (attached fig). The deepest shade of red indicates a frequency of 25. And deep blue indicates a frequency of 0.
How will I add a line (a circle) to show encircle the area covers 90% of my data?
I want to compare multiple such figures..so such contour lines will be very useful for me.
Thanks in advance!!

回答 (1 件)

KSSV
KSSV 2020 年 10 月 12 日
Read about contourf.
Or use contour with hold on. You need to specify the level and your desired color.
  4 件のコメント
Ishani Mukherjee
Ishani Mukherjee 2020 年 10 月 12 日
Thanks..
KSSV
KSSV 2020 年 10 月 13 日
Then what is 100*100 matrix in the question? How can you generate such plot without a matrix?

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeData Distribution Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by