Colorbar labeling

버전 1.0.0.0 (2.03 KB) 작성자: Fanny Besem
Pimp up your colorbars. And easily!
다운로드 수: 666
업데이트 날짜: 2011/8/5

라이선스 보기

Awefully simple code in order to gain some time when trying to label the colorbars.
Works for individual plot or subplots, handles single- and multi-line labels on the top, bottom and/or right of the colorbar.

Input: colorbar handle ([] if unknown), label location ('top', 'bottom' or 'right'), indication for subplots (1 if subplots, 0 otherwise), text label (normal MatLab style)

Output: Nicely postioned labels for the colorbars

Warning: 1) If the label is too close to the colorbar or graph, try reapplying the function, it will largen up the gap

Example: colorbarlabel([],'r',0,[{'String line1'},{'String line2'}])

인용 양식

Fanny Besem (2026). Colorbar labeling (https://kr.mathworks.com/matlabcentral/fileexchange/32437-colorbar-labeling), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2008a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
버전 게시됨 릴리스 정보
1.0.0.0