MATLAB Functions | Help Desk |
gcf
Get current Figure handleh = gcf
h = gcf
returns the handle of the current Figure. The current Figure is the Figure window in which graphics commands such as plot
, title
, and surf
draw their results. If no Figure exists, MATLAB creates one and returns its handle. You can use the statement,
get(0,'CurrentFigure')if you do not what MATLAB to create a Figure if one does not alread exist.
axes
, clf
, close
, delete
, figure
, gca
, gcbo
, gco
, subplot
Root CurrentFigure
property