Color Palette Tables (.cpt) for Matlab
by Kelly Kearney
04 Oct 2010
(Updated 24 Apr 2013)
Create and apply GMT-style colormaps in Matlab
|
Watch this File
|
| File Information |
| Description |
This function creates and applies a colormap defined in a color palette table (.cpt) file. Color palette tables are used to define colormaps in the Generic Mapping Tools package (http://gmt.soest.hawaii.edu/). These files provide more flexible colormapping than Matlab's default schemes, including both discrete and continuous gradients, as well as easier direct color mapping.
For a complete description of the color palette table format, see the GMT documentation.
This package includes 20 standard GMT colormaps; please see the header of each file for copyright information. Many more color tables are available on the cpt-city website (http://soliton.vm.bytemark.co.uk/pub/cpt-city/index.html). |
| MATLAB release |
MATLAB 7.10 (R2010a)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 12 Apr 2011 |
-bug fixes where some input filenames were misinterpreted (thanks to Felipe)
-colormap display option no longer relies on external functions, has cleaner display, and renders more quickly |
| 24 Apr 2013 |
Replaced roundn call with manual calculation to remove unintended dependency on Mapping Toolbox. |
|
Contact us