Choose Colormap tool
imcolormaptool function to create a Choose Colormap
tool. The Choose Colormap tool is an interactive colormap selection tool that allows you
to change the colormap of a figure by selecting a colormap from a list of MATLAB® colormap functions or workspace variables, or by entering a custom
Choose Colormap Tool
imcolormaptool launches the Choose Colormap tool in a
separate figure, which is associated with the current figure.
imcolormaptool( launches the Choose
Colormap tool using
h as the target figure.
h must contain either a grayscale or an indexed
returns a handle to the Choose Colormap tool figure,
htool = imcolormaptool(___)
h = figure; imshow('cameraman.tif'); imcolormaptool(h);
h— Handle to graphics object
Handle to a figure or axes, specified as a handle.
htool— Handle to Choose Colormap tool figure
Handle to Choose Colormap tool figure, returned as a handle.