gcf
get current figure graphics object.
Syntax
- cf = gcf()
Output argument
- cf - a graphics object: figure graphics object.
Description
cf = gcf() returns the current figure graphics object.
If a figure does not exist, gcf() creates a figure and returns its graphics object.
Example
cf = gcf();
root = groot();
isequal(root.CurrentFigure, cf)
See also
History
Version | Description |
---|---|
1.0.0 | initial version |
Author
Allan CORNET