colorbarlabel

puts a label on a colorbar at the user given location
375 téléchargements
Mise à jour 30 sept. 2009

Afficher la licence

hcbl = colorbarlabel(label, poslab, hcb)
This function puts a label on a colorbar at the user given location

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

The output handle hcbl is used to manipulate font properties

Examples: hcbl = colorbarlabel('temperature', 'E', hcb),
hcbl = colorbarlabel('temperature', 'E') or
hcbl = colorbarlabel('temperature')

The above examples produce the same result.

If poslab is not a valid case E will be used

Citation pour cette source

Eduardo Gonzalez Rodriguez (2026). colorbarlabel (https://fr.mathworks.com/matlabcentral/fileexchange/25447-colorbarlabel), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R2009a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Colorbar dans Help Center et MATLAB Answers
Tags Ajouter des tags
Version Publié le Notes de version
1.0.0.0