How to modify the colobar settings?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Ravindu Lokuliyana
il 31 Ott 2019
Risposto: meghannmarie
il 5 Nov 2019
Just a simple question!!
How can I obtain following requirement for the colorbar?
- add units
- move colobar tilte to the desired position

0 Commenti
Risposta accettata
meghannmarie
il 5 Nov 2019
You could try this:
c = colorbar;
units = ' m';
c.TickLabels{end} = [c.TickLabels{end} units];
c.Location = 'westoutside';
0 Commenti
Più risposte (1)
meghannmarie
il 31 Ott 2019
c = colorbar;
units = 'm';
c.TickLabels = cellfun(@(x) [x ' ' units], c.TickLabels, 'UniformOutput', false)
c.Position = [left,bottom, width,height];
2 Commenti
Vedere anche
Categorie
Scopri di più su Axis Labels 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!