Labels

[matlab]handle of a figure

The handle of the root object is always zero.
The handle of a figure is an integer that, by default, is displayed in
the window title, such as Figure 1, which 1 is the handle of this figure.
Other object handles are floating-point numbers that contain information
used by MATLAB

1 comment:

  1. MATLAB provides several functions to get the frequently used handle of object.

    gcf, get current figure handle
    gca, get current axes handle
    gco, get current object handle

    to use gcf to get the handle, simply focusing on the figure, then type 'gcf' in command window of MATLAB

    ReplyDelete