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 comentarios

Peng Li
Peng Li el 1 de Abr. de 2020
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 el 1 de Abr. de 2020
Thanks I tried this but either i used uppercase F i figure or i probably used "figures" Thanks it worked

Iniciar sesión para comentar.

 Respuesta aceptada

Cris LaPierre
Cris LaPierre el 1 de Abr. de 2020

0 votos

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 comentario

agrim agarwal
agrim agarwal el 1 de Abr. de 2020
Yes that's exactly what was happening. It worked now. Thanks.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Data Distribution Plots en Centro de ayuda y File Exchange.

Preguntada:

el 31 de Mzo. de 2020

Comentada:

el 1 de Abr. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by