Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

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

| |

Introduced in R2009a

Was this topic helpful?