Colorbar label beneath colorbar

4 次查看(过去 30 天)
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.

采纳的回答

Tom
Tom 2013-6-25
C = colorbar('location','SouthOutside');
set(get(C,'XLabel'),'String','Colour Bar Label Text')

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Colormaps 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by