12.07.2015 Views

MATLAB Function Reference (Volume 2: Graphics)

MATLAB Function Reference (Volume 2: Graphics)

MATLAB Function Reference (Volume 2: Graphics)

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

uicontrol Properties• Toggle buttons – Min is the value of the Value property when the togglebutton is not selected. The default is 0.• Frames, pop-up menus, push buttons, and static text do not use the Minproperty.ParenthandleUicontrol’s parent. The handle of the uicontrol’s parent object. The parent of auicontrol object is the figure in which it appears. You can move a uicontrolobject to another figure by setting this property to the handle of the new parent.Positionposition rectangleSize and location of uicontrol. The rectangle defined by this property specifiesthe size and location of the control within the figure window. Specify Positionas[left bottom width height]left and bottom are the distance from the lower-left corner of the figurewindow to the lower-left corner of the uicontrol object. width and height arethe dimensions of the uicontrol rectangle. All measurements are in unitsspecified by the Units property.On Microsoft Windows systems, the height of pop-up menus is automaticallydetermined by the size of the font. The value you specify for the height of thePosition property has no effect.Selectedon | {off}Is object selected. When this property is on, <strong>MATLAB</strong> displays selectionhandles if the SelectionHighlight property is also on. You can, for example,define the ButtonDownFcn to set this property, allowing users to select theobject with the mouse.SelectionHighlight {on} | offObject highlight when selected. When the Selected property is on, <strong>MATLAB</strong>indicates the selected state by drawing four edge handles and four cornerhandles. When SelectionHighlight is off, <strong>MATLAB</strong> does not draw thehandles.2-551

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!