Example -- Specifying Figure Position
Suppose you want to define two figure windows that occupy the upper third of the computer screen (e.g., one for uicontrols and the other to display data). To position the windows precisely, you must consider the window borders when calculating the size and offsets to specify for the
Positionproperty does not include the window borders, so this example uses a width of 5 pixels on the sides and bottom and 30 pixels on the top.
The two figures now occupy the top third of the screen.
|Positioning Figures||Figure Colormaps -- The Colormap Property|
© 1994-2005 The MathWorks, Inc.