Colorbar label beneath colorbar

조회 수: 12 (최근 30일)
Boris
Boris 2013년 6월 25일
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')
  댓글 수: 1
Boris
Boris 2013년 6월 25일
Thanks for you quick response!

댓글을 달려면 로그인하십시오.

추가 답변 (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