Code covered by the BSD License  

Highlights from
colorbarlabel

3.0

3.0 | 1 rating Rate this file 0 Downloads (last 30 days) File Size: 1.62 KB File ID: #23096

colorbarlabel

by Eduardo Gonzalez Rodriguez

 

25 Feb 2009

This function put a label on a colorbar at a user given location

| Watch this File

File Information
Description

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')

MATLAB release MATLAB 7.4 (R2007a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
31 Aug 2009 Kevin J. Delaney

Works great! One possible improvement: return a handle to the new label so user can manipulate font properties, etc.

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
colorbar Eduardo Gonzalez Rodriguez 25 Feb 2009 13:35:07

Contact us at files@mathworks.com