How to modify the colobar settings?
Afficher commentaires plus anciens
Just a simple question!!
How can I obtain following requirement for the colorbar?
- add units
- move colobar tilte to the desired position

Réponse acceptée
Plus de réponses (1)
meghannmarie
le 31 Oct 2019
1 vote
c = colorbar;
units = 'm';
c.TickLabels = cellfun(@(x) [x ' ' units], c.TickLabels, 'UniformOutput', false)
c.Position = [left,bottom, width,height];
Catégories
En savoir plus sur Labels and Annotations dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
