How to make longer and thicker ticks in the colorbar?
11 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Sim
el 4 de Mayo de 2021
Comentada: Sim
el 4 de Mayo de 2021
How to make longer and thicker ticks in the colorbar?
0 comentarios
Respuesta aceptada
Scott MacKenzie
el 4 de Mayo de 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
Más respuestas (0)
Ver también
Categorías
Más información sobre Colorbar en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!