The root object exists when you start MATLAB; you never have to create it. Use the set function to alter the root's properties, listed under "Object Properties" below. Use get to query the root's properties.
BlackAndWhiteon Assume the display is monochrome. This is useful if MATLAB is running on color hardware, but is displaying on a monochrome terminal. Prevents MATLAB from determining erroneously that the display is color.off (Default.) Differentiate between color and monochrome.ButtonDownFcneval function to execute the Callback. Initially the empty matrix.CaptureMatrixCaptureRect rectangle. Use the get function to obtain this matrix. Use image to display the captured matrix.CaptureRect[left,bottom,width,height], that defines the region captured by CaptureMatrix. left and bottom define the location of the lower-left corner of the rectangle and width and height define the dimensions of the rectangle. The Units property determines what units are used to specify these dimensions. Initial value is [0 0 0 0].ChildrenClippingon (Default.) No effect for root objects.off No effect for root objects.CurrentFigureDiarydiary command).
on MATLAB maintains a file (with name DiaryFile) that saves a copy of all keyboard input and most of the resulting output.off (Default.) MATLAB does not save input and output to a file.DiaryFilediary.Echoecho command).
on MATLAB displays each line of a script file as it executes.off (Default.) MATLAB does not echo during script execution.Formatformat command).
short (Default.) Fixed-point format with 5 digits.shortE Floating-point format with 5 digits.long Scaled fixed-point format with 15 digits.longE Floating-point format with 15 digits.bank Fixed-format of dollars and cents.hex Hexadecimal format.+ Displays + and - symbols.FormatSpacingformat command).
compact Suppress extra line feeds for more compact display.loose (Default.) Display extra line feeds for looser display.Interruptibleyes The callback specified by ButtonDownFcn is interruptible by other callbacks.no (Default.) The ButtonDownFcn callback is not interruptible.ParentPointerLocationUnits property determines the units of this measurement.PointerWindowScreenDepthScreenSize[left,bottom,width,height], that defines the display size. left and bottom are always 0. width and height are the screen dimensions in units specified by the Units property.TerminalOneWindowyes There is only one window on your terminal.no Multiple windows.TerminalProtocolx X display server. If you are using X Windows and MATLAB can connect to your X display server, this property is automatically set to x.tek401x Terminals that emulate Tektronix 4010/4014.tek410x Terminals that emulate Tektronix 4100/4105.none Not in terminal mode, not connected to an X server.Type'root' for the root object. Unitspixels (Default.) Screen pixels.normalized Normalized coordinates, where the lower-left corner of the screen maps to (0,0) and the upper-right corner to (1.0,1.0).inches Inches.cent Centimeters.points Points. Each point is equivalent to 1/72 of an inch.CaptureRect, PointerLocation, and ScreenSize. If you change the value of Units, it is good practice to return it to its default value after completing your computation so as not to affect other functions that assume Units is set to the default value.UserDataget command.Visibleon (Default.) No effect for root objects.off No effect for root objects.diary,echo,figure,format,gcf
(c) Copyright 1994 by The MathWorks, Inc.