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.
BlackAndWhite
on
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.ButtonDownFcn
eval
function to execute the Callback
. Initially the empty matrix.CaptureMatrix
CaptureRect
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]
.Children
Clipping
on
(Default.) No effect for root objects.off
No effect for root objects.CurrentFigure
Diary
diary
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.DiaryFile
diary
.Echo
echo
command).
on
MATLAB displays each line of a script file as it executes.off
(Default.) MATLAB does not echo during script execution.Format
format
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.FormatSpacing
format
command).
compact
Suppress extra line feeds for more compact display.loose
(Default.) Display extra line feeds for looser display.Interruptible
yes
The callback specified by ButtonDownFcn
is interruptible by other callbacks.no
(Default.) The ButtonDownFcn
callback is not interruptible.Parent
PointerLocation
Units
property determines the units of this measurement.PointerWindow
ScreenDepth
ScreenSize
[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.TerminalOneWindow
yes
There is only one window on your terminal.no
Multiple windows.TerminalProtocol
x
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. Units
pixels
(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.UserData
get
command.
Visible
on
(Default.) No effect for root objects.off
No effect for root objects.diary
,echo
,figure
,format
,gcf
(c) Copyright 1994 by The MathWorks, Inc.