cmap2pal - Convert matlab colormap to binary .pal format

Convert Matlab colormaps to binary .pal format
2.2K Downloads
Updated 19 Aug 2013

View License

Converts standard Matlab colormaps (nx3 RGB tuples) to the binary .pal format allowing import to other graphing software packages (e.g Origin).

Syntax:

CMAP2PAL(cmap) converts the Matlab colormap cmap into binary .pal format. cmap must be an nx3 array of RGB values between 0 and 1. The output file destination is selected via a GUI.

CMAP2PAL(cmap,path) saves the .pal file to the destination specified by path.

Cite As

Marcelo Alcocer (2024). cmap2pal - Convert matlab colormap to binary .pal format (https://www.mathworks.com/matlabcentral/fileexchange/43114-cmap2pal-convert-matlab-colormap-to-binary-pal-format), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Colormaps in Help Center and MATLAB Answers
Acknowledgements

Inspired by: Color Palette Tables (.cpt) for Matlab

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0