How do I make heatmap axes order from bottom-top?
    10 vues (au cours des 30 derniers jours)
  
       Afficher commentaires plus anciens
    
I am struggling with making heatmap order from bottom to top.
Snapshot is what I have currently, but I want to flip the plot order.
Thank you
0 commentaires
Réponses (1)
  Daniel M
      
 le 17 Oct 2019
        x = magic(10);
figure
imagesc(x) % notice the y-axis goes from 10-1 from bottom to top
set(gca,'YDir','normal') % now it is reversed!
0 commentaires
Voir également
Catégories
				En savoir plus sur Data Distribution Plots dans Help Center et File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

