How to sort heatmap columns based on outside data
Afficher commentaires plus anciens
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.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Data Distribution Plots dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
