gcf Returns a handle to the current figure. Syntax gcf() Outputs R Handle. Example Simple gcf example. R = gcf() R = 2