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 PropertiesSetting HandleVisibility to off makes handles invisible at all times. Thismay be necessary when a callback routine invokes a function that mightpotentially damage the GUI (such as evaluating a user-typed string), and sotemporarily hides its own handles during the execution of that function.When a handle is not visible in its parent’s list of children, it cannot be returnedby functions that obtain handles by searching the object hierarchy or queryinghandle properties. This includes get, findobj, gca, gcf, gco, newplot, cla, clf,and close.When a handle’s visibility is restricted using callback or off, the object’shandle does not appear in its parent’s Children property, figures do not appearin the root’s CurrentFigure property, objects do not appear in the root’sCallbackObject property or in the figure’s CurrentObject property, and axesdo not appear in their parent’s CurrentAxes property.You can set the root ShowHiddenHandles property to on to make all handlesvisible, regardless of their HandleVisibility settings (this does not affect thevalues of the HandleVisibility properties).Handles that are hidden are still valid. If you know an object’s handle, you canset and get its properties, and pass it to any function that operates on handles.HitTest{on} | offSelectable by mouse click. This property has no effect on uicontrol objects.HorizontalAlignmentleft | {center} | rightHorizontal alignment of label string. This property determines the justificationof the text defined for the String property (the uicontrol label):• left — Text is left justified with respect to the uicontrol.• center — Text is centered with respect to the uicontrol.• right — Text is right justified with respect to the uicontrol.On Microsoft Windows systems, this property affects only edit and textuicontrols.Interruptible {on} | offCallback routine interruption mode. If a callback is executing and the usertriggers an event (such as a mouse click) on an object for which a callback is2-548

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

Saved successfully!

Ooh no, something went wrong!