colorbarlabel
Version 1.0.0.0 (1.62 KB) by
Eduardo Gonzalez Rodriguez
This function put a label on a colorbar at a user given location
colorbarlabel(label, poslab, hcb)
The input arguments are:
label = string label
hcb = colorbar handle, if ommited a new colorbar is created
poslab = E, W, N or S, axis where label will be localizated, default is E
Where: E = east, W = west, N = north and S = south,
E and W are on y axis and N and S are on x axis
Examples: colorbarlabel('temperature', 'E', hcb),
colorbarlabel('temperature', 'E') or
colorbarlabel('temperature')
Cite As
Eduardo Gonzalez Rodriguez (2026). colorbarlabel (https://www.mathworks.com/matlabcentral/fileexchange/23096-colorbarlabel), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2007a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Colorbar in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
