I am trying to get two heatmaps i.e i have 2 different data sets and i want each to have a separate heatmap window. I am using this function Hm = heatmap(abc);

댓글 수: 2

Peng Li
Peng Li 2020년 4월 1일
Your question isn't quite clear. So you plot one heatmap by using your command; you can create another figure obj and plot another heatmap.
Hm = heatmap(abc);
figure; Hm2 = heatmap(abc2);
Is this what you need?
agrim agarwal
agrim agarwal 2020년 4월 1일
Thanks I tried this but either i used uppercase F i figure or i probably used "figures" Thanks it worked

댓글을 달려면 로그인하십시오.

 채택된 답변

Cris LaPierre
Cris LaPierre 2020년 4월 1일

0 개 추천

I suspect what is happeing is you are plotting both heatmpas onto the same axes, meaning the second one replaces the first. Place the command "figure" before your second heatmap command to generate a second figure window.

댓글 수: 1

agrim agarwal
agrim agarwal 2020년 4월 1일
Yes that's exactly what was happening. It worked now. Thanks.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Data Distribution Plots에 대해 자세히 알아보기

질문:

2020년 3월 31일

댓글:

2020년 4월 1일

Community Treasure Hunt

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

Start Hunting!

Translated by