Colorbar label beneath colorbar
4 views (last 30 days)
Show older comments
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.
0 Comments
Accepted Answer
Tom
on 25 Jun 2013
C = colorbar('location','SouthOutside');
set(get(C,'XLabel'),'String','Colour Bar Label Text')
More Answers (0)
See Also
Categories
Find more on Colormaps in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!