image thumbnail

Colormap Dropdown Menu

version 1.0.0.0 (2.16 KB) by Seth Kenner
Create a dropdown menu to select a colormap

799 Downloads

Updated 15 Sep 2017

View License

This is an example of a way to create a dropdown menu to select a colormap in a GUI figure.
The colorbars are displayed in the dropdown menu next to the colormap name using HTML.

Cite As

Seth Kenner (2021). Colormap Dropdown Menu (https://www.mathworks.com/matlabcentral/fileexchange/43659-colormap-dropdown-menu), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: rgbconv.m, MATLAB Plot Gallery - Colormap Chart

Community Treasure Hunt

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

Start Hunting!