# 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

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

## See also

[isgraphics](isgraphics), [axes](axes).

## History

| Version | Description     |
| ------- | --------------- |
| 1.0.0   | initial version |

## Author

Allan CORNET
