Put label in colorbar
Afficher commentaires plus anciens
I put the label ('Power (dB') in my color bar, and the code is below:
a=colorbar;
ylabel(a,'Power (db)','FontSize',16,'Rotation',270);
However, the label is too close the colorbar (see the figure).
Can anyone help me? Thanks!
Also, how can I to put the different title for each subplot. 

1 commentaire
Clara Casals Baixas
le 5 Mar 2024
Try this:
a=colorbar;
a.Label.String = 'Power (db)';
Réponse acceptée
Plus de réponses (1)
Ruger28
le 18 Sep 2019
From
doc colorbar
try
a = colorbar;
a.Label.String = 'Power (dB)';
1 commentaire
Ting-Yu Chueh
le 18 Sep 2019
Catégories
En savoir plus sur Axis Labels 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!



