groot - Graphics root object - MATLAB (original) (raw)

Main Content

Syntax

Description

groot refers to the graphics root object. Use groot to access root properties. For a list of properties, see Root Properties.

example

r = groot stores the graphics root object handle. To set root properties using dot notation, you must store the handle first.

example

Examples

collapse all

View Root Property Values

View a list of graphics root properties and their current values.

     CallbackObject: [0x0 GraphicsPlaceholder]
           Children: [0x0 GraphicsPlaceholder]
      CurrentFigure: [0x0 GraphicsPlaceholder]
 FixedWidthFontName: 'Courier New'
   HandleVisibility: 'on'
   MonitorPositions: [1 1 1280 1024]
             Parent: [0x0 GraphicsPlaceholder]
    PointerLocation: [1 1]
        ScreenDepth: 24
ScreenPixelsPerInch: 100
         ScreenSize: [1 1 1280 1024]
  ShowHiddenHandles: off
                Tag: ''
               Type: 'root'
              Units: 'pixels'
           UserData: []

Set Root Property Values

Set graphics root property values by storing the object handle and using dot notation.

r = groot; r.ShowHiddenHandles = 'on';

Tips

Version History

Introduced in R2014b