Navigation

Operators and Keywords

Function List:

C++ API

: figure
: figure n
: figure (n)
: figure (…, "property", value, …)
: h = figure (…)

Create a new figure window for plotting.

If no arguments are specified, a new figure with the next available number is created.

If called with an integer n, and no such numbered figure exists, then a new figure with the specified number is created. If the figure already exists then it is made visible and becomes the current figure for plotting.

Multiple property-value pairs may be specified for the figure object, but they must appear in pairs.

The optional return value h is a graphics handle to the created figure object.

See also: axes, gcf, clf, close.

Package: octave