FUNCTION REFERENCE
groot
Graphics root object handle.
Graphics root object handle.
Syntax
r = grootReturns the handle to the graphics root object, equivalent to numeric 0 in get, set, isgraphics, ishghandle, and reset. Root properties include ScreenSize, MonitorPositions, Children (open figures, newest first), CurrentFigure, Units ('pixels'), ScreenPixelsPerInch (96), Type ('root'), Tag, UserData, and ShowHiddenHandles. In terminal and -batch mode without a display, ScreenSize and MonitorPositions return a fixed [1 1 1920 1080] like MATLAB without a display.
Example
r = groot; get(r, 'Type') % 'root'Example
get(groot, 'ScreenSize') % [1 1 1920 1080]Differences from MATLAB: Not checked against MATLAB yet. Terminal/-batch uses fixed [1 1 1920 1080] screen geometry.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.