gcf
Handle to the current figure.
Syntax
Section titled “Syntax”h = gcfDescription
Section titled “Description”Returns a handle to the currently active figure (chart sheet).
Example
Section titled “Example”set(gcf, 'Name', 'My Plot')Handle to the current figure.
h = gcfReturns a handle to the currently active figure (chart sheet).
set(gcf, 'Name', 'My Plot')