Effacer les filtres
Effacer les filtres

Colorbar label beneath colorbar

7 vues (au cours des 30 derniers jours)
Boris
Boris le 25 Juin 2013
Dear all,
how can set the colorbarlabel underneath the colorbar if the colorbar is set:
c=colorbar('location', 'SouthOutside');
For clarificaton, the figure should look like (from top to bottom):
1) title 2) figure 3) xlabel 4) colorbar 5) clabel
Doing in it in the plot editor would not be an option.
Thanks for your help.

Réponse acceptée

Tom
Tom le 25 Juin 2013
C = colorbar('location','SouthOutside');
set(get(C,'XLabel'),'String','Colour Bar Label Text')
  1 commentaire
Boris
Boris le 25 Juin 2013
Thanks for you quick response!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Colormaps 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!

Translated by