How to sort heatmap columns based on outside data
Show older comments
Hi,
I plotted a heatmap as shown below:
h = heatmap(array);


I want to sort my columns based on some outside data, specifically an array called idx shown below. How can I do this?

Thanks.
Accepted Answer
More Answers (0)
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!