colorbarlabel

puts a label on a colorbar at the user given location
374.0 次下载
更新时间 2009/9/30

查看许可证

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

引用格式

Eduardo Gonzalez Rodriguez (2024). colorbarlabel (https://www.mathworks.com/matlabcentral/fileexchange/25447-colorbarlabel), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2009a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Colorbar 的更多信息
标签 添加标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0