graphics functions gcf >>

figure


Creates an figure window.


Syntax


f = figure()
f = figure(ID)
f = figure(H)

Input argument


ID

a scalar integer value: find or creates with ID.

H

a scalar graphic object on an existing figure.

Output argument


f

a graphic object: figure handle.

Description


figure creates figure.

Properties:

Color: Background color [R, G, B] or string (example: 'blue').

InnerPosition: Location and size of drawable area (similar to 'Position').

Name: Name (default '').

Number: Figure indentifer (integer).

OuterPosition: Location and size of outer bounds (vector [X Y W H]).

Position: Location and size of drawable area.

Tag: String identifier.

Type: Type 'figure'.

UserData: User data (any array type).

Visible:

Example


f = figure(1)
g = figure(2)
h = figure(3)
figure(g)
gcf()

See also


gcf.

History


Version Description
1.0.0 initial version

Author


Allan CORNET

graphics functions gcf >>