|
|
| File Information |
| Description |
Plots a vertical or horizontal colorbar for inclusion in a publication. The specified colorbar can be plotted either horizontally or vertically, and a function handle can be passed in to allow the use of different colormaps.
Written during some recent work, and then cleaned up and published here in case it's useful to anyone else.
Examples:
h1 = plot_colorbar([100, 5], 'h', 'Test Colormap')
h2 = plot_colorbar([150, 10], 'v', 'Test Colormap', @hsv) |
| 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.
|
|
Contact us at files@mathworks.com