How to make longer and thicker ticks in the colorbar?
11 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
How to make longer and thicker ticks in the colorbar?
0 commentaires
Réponse acceptée
Scott MacKenzie
le 4 Mai 2021
Not sure the purpose, but this looks like what you're asking for...
y = randi(10,1,5);
tiledlayout('flow');
nexttile;
bar(y);
colorbar;
nexttile;
bar(y);
h = colorbar;
h.TickLength = .05; % default is 0.01
h.LineWidth = 1; % default is 0.5
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Colorbar 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!