How to change the colorbar label distance
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Eryang Wang
le 21 Sep 2023
Commenté : Eryang Wang
le 21 Sep 2023
Hello everyone,
how can I change the label distance in the colorbar? Thanks!
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1489017/image.jpeg)
0 commentaires
Réponse acceptée
Florian Bidaud
le 21 Sep 2023
Modifié(e) : Florian Bidaud
le 21 Sep 2023
c = colorbar;
clim([84 100])
c.Ticks = [84:2:100];
c.TickLabels{1} = 0;
3 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Colormaps 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!