Name

figure — creates/activates a figure

Calling Sequence

h = figure(varargin)

Parameters

varargin

See examples below for the input arguments

h

figure handle

Description

figure() : creates a new window (property/value pairs are allowed or activates an exisiting figure :

fig('color',[1 1 1]);

Examples

fig('colormap','hot');
fig('colormap',[0 0 0;1 1 1]);
fig(winNum); // activates the window winNum 

See Also

figure properties , whitebg

Authors

Stéphane Mottelet