gca

get current axes graphics object.

Syntax

  • ca = gca()

Output argument

  • ca - a graphics object: axes graphics object.

Description

ca = gca() returns the current axes graphics object.

If there are no axes, gca() creates an axes and returns its graphics object.

Example

ca = gca()
isgraphics(ax, 'axes')

See also

isgraphics, axes.

History

Version
Description

1.0.0

initial version

Author

Allan CORNET

Last updated