COLORMAP and COLORBAR utilities (Sep 2009)
by Carlos Adrian Vargas Aguilera
08 Jun 2009
(Updated 30 Sep 2009)
MATLAB color utilities including COLORMAP join and interpolation; freeze and fit COLORBAR, etc.
|
Watch this File
|
| File Information |
| Description |
These are some utilities that improve the COLORMAP and COLORBAR functions. They are as follows, and each one includes help and examples:
COLORMAP utilites:
cmapping - Colormap linear mapping/interpolation.
cmfit - Sets the COLORMAP and CAXIS to specific color bands.
cmjoin - Joins colormaps at certain levels.
cmlines - Change the color of plotted lines using the colormap.
COLORBAR utilities:
cbfit - Draws a colorbar with specific color bands between its ticks.
cbfreeze - Freezes the colormap of a colorbar.
cbhandle - Handle of current colorbar axes.
cblabel - Adds a label to the colorbar.
cbunits - Adds units to the colorbar ticklabels.
I include updated versions of the following functions I submitted here previously:
SETCOLORMAPS (now called CMJOIN),
COLORBARFIT (now called CBFIT),
CBLABEL and
CBUNITS.
Enjoy it!
Bugs reports and suggestions will be very appreciated! |
| Acknowledgements |
Usercolormap, Freeze Colors / Unfreeze Colors, Imagescnan.M V2.1 (Aug 2009), Cmapline, and Real2rgb & Colormaps
inspired this file.
This file inspired
Quiver2.M V1.2 (Nov 2009).
|
| MATLAB release |
MATLAB 7.7 (R2008b)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 30 Jun 2009 |
Fixed small bug with 'm' magenta color on CMAPPING. Added files versions on Contents.m |
| 20 Aug 2009 |
Fixed bug in CBHANDLE with colorbar handle input |
| 02 Sep 2009 |
Fixed BUGs on CBFREEZE (thanks to Sergio Muniz) and CMAPPING (thanks to Andrea Rumazza). |
| 30 Sep 2009 |
Fixed some bugs on CBUNITS and CBFIT. |
|
Contact us