Skip to content

gcf

Handle to the current figure.

h = gcf

Returns a handle to the currently active figure (chart sheet).

set(gcf, 'Name', 'My Plot')
  • gca — Handle to the current axes.
  • gcs — Handle to the current sheet.
  • figure — Create or activate a chart sheet (figure window).