How to get 2 heatmaps
25 views (last 30 days)
Show older comments
agrim agarwal
on 31 Mar 2020
Commented: agrim agarwal
on 1 Apr 2020
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 Comments
Peng Li
on 1 Apr 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?
Accepted Answer
Cris LaPierre
on 1 Apr 2020
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.
More Answers (0)
See Also
Categories
Find more on Data Distribution Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!