Choose Colormap tool
hfig = imcolormaptool(...)
The Choose Colormap tool is an interactive colormap selection tool that allows you to change the colormap of the target (current) figure by selecting a colormap from a list of MATLAB® colormap functions or workspace variables, or by entering a custom MATLAB expression.
imcolormaptool launches the Choose Colormap tool in a separate figure, which is associated with the target figure.
imcolormaptool(hclientfig) launches the Choose Colormap tool using hclientfig as the target figure. hclientfig must contain either a grayscale or an indexed image.
hfig = imcolormaptool(...) returns a handle to the Choose Colormap tool, hfig.