Documentation Center

  • Trials
  • Product Updates

imcolormaptool

Choose Colormap tool

Syntax

imcolormaptool
imcolormaptool(hclientfig)
hfig = imcolormaptool(...)

Description

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.

Examples

h = figure;
imshow('cameraman.tif');
imcolormaptool(h); 

Choose Colormap Tool

See Also

| |

Was this topic helpful?