How to change color bar limits in imagesc?
    50 visualizzazioni (ultimi 30 giorni)
  
       Mostra commenti meno recenti
    
    Zeynab Mousavikhamene
      
 il 7 Lug 2020
  
    
    
    
    
    Commentato: Zeynab Mousavikhamene
      
 il 8 Lug 2020
            For heatmap, thisc command would work:
'ColorLimits',[50 100]
but it did not work for imagesc.
0 Commenti
Risposta accettata
  Akira Agata
    
      
 il 8 Lug 2020
        You can do that task by setting CLim of the axes, like:
figure
imagesc(rand(4));
ax = gca;
ax.CLim = [0 1];
colorbar
Più risposte (0)
Vedere anche
Categorie
				Scopri di più su Data Distribution Plots in Help Center e File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

