Graphics > Graphics Objects
21 functions in MATLAB › Graphics > Graphics Objects.
Graphics Object Identification
allchild | Returns all children of graphics objects, including hidden ones. |
ancestor | Finds the closest enclosing object of a given type, such as the axes or figure of a line. |
copyobj | Copies graphics objects into a new parent. |
delete | Deletes graphics objects, or files by name. |
findall | Finds graphics objects of all kinds, including hidden ones, by property values. |
findfigs | Brings figures that are off-screen back into view. |
findobj | Finds visible graphics objects by property values. |
gca | Returns the handle of the current axes, creating one if needed. |
gcbf | Returns the figure that contains the object whose callback is running. |
gcbo | Returns the object whose callback is currently executing. |
gcf | Returns the handle of the current figure, creating one if needed. |
gco | Returns the graphics object that was last clicked. |
gobjects | Creates an array of placeholder graphics objects for preallocation. |
groot | Returns the graphics root object, the top of the graphics hierarchy. |
ishandle | Tests which elements of an array are valid graphics or UI handles. |
ishghandle | Tests whether values are valid Handle Graphics object handles, optionally of a given type. |
Specifying Target for Graphics Output
ishold | Tells whether the current axes keep existing plots when new ones are added. |
newplot | Prepares the figure and axes for a new plot, respecting hold and NextPlot settings. |
Interactive Control and Callbacks
refresh | Redraws the current figure. |
shg | Shows the current figure, bringing it to the front. |
Graphics Object Properties
reset | Restores the properties of a graphics object to their defaults. |