Code covered by the BSD License  

Highlights from
colorbarlabel

Be the first to rate this file! 0 Downloads (last 30 days) File Size: 1.7 KB File ID: #25447

colorbarlabel

by Eduardo Gonzalez Rodriguez

 

30 Sep 2009

puts a label on a colorbar at the user given location

| Watch this File

File Information
Description

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

MATLAB release MATLAB 7.8 (R2009a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
colorbar Eduardo Gonzalez Rodriguez 30 Sep 2009 10:19:54

Contact us at files@mathworks.com