필터 지우기
필터 지우기

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 CenterFile Exchange에서 Data Distribution Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by