Color Palette Tables (.cpt) for Matlab

Create and apply GMT-style colormaps in Matlab

https://github.com/kakearney/cptcmap-pkg

You are now following this Submission

Cite As

Kelly Kearney (2026). Color Palette Tables (.cpt) for Matlab (https://github.com/kakearney/cptcmap-pkg), GitHub. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes Action
1.7.0.1

linked GitHub readme

1.7.0.0

- Linked to GitHub repository
- Added cptcbar.m to create colorbars
- Now allows for multiple folders holding .cpt files

1.6.0.0

Corrected bug in colormap length calculation

1.5.0.0

- Corrected bug in HSV color calculation
- Updated for 2014b graphics

1.4.0.0

Added error check in case no input is supplied. Also corrected the roundn issue (correctly, this time).

1.3.0.0

Replaced roundn call with manual calculation to remove unintended dependency on Mapping Toolbox.

1.2.0.0

-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

1.0.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.