# gcf

## Purpose

Get current figure handle.

## Synopsis

    h = gcf

## Description

`gcf` returns the handle to the current figure. The current figure is the figure (graphics window) to which graphics commands such as `plot`, `title`, and `surf` plot their results.

Each figure has a current axes.

Use the command `figure` to change the current figure to a different figure, or to create a new figure. Use `clf` to reset the current figure.

## See Also

    axes, clf, close, figure, gca, subplot

(c) Copyright 1994 by The MathWorks, Inc.