Colorbar label beneath colorbar

6 Ansichten (letzte 30 Tage)
Boris
Boris am 25 Jun. 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.

Akzeptierte Antwort

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Labels and Annotations finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by