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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

uicontrol PropertiesFixedWidthFontName property causes an immediate update of the display touse the new font.FontSizesize in FontUnitsFont size. A number specifying the size of the font in which to display theString, in units determined by the FontUnits property. The default point sizeis system dependent.FontUnits {points} | normalized | inches |centimeters | pixelsFont size units. This property determines the units used by the FontSizeproperty. Normalized units interpret FontSize as a fraction of the height of theuicontrol. When you resize the uicontrol, <strong>MATLAB</strong> modifies the screenFontSize accordingly. pixels, inches, centimeters, and points are absoluteunits (1 point = 1 / 72 inch).FontWeightlight | {normal} | demi | boldWeight of text characters. <strong>MATLAB</strong> uses this property to select a font fromthose available on your particular system. Setting this property to bold causes<strong>MATLAB</strong> to use a bold version of the font, when it is available on your system.ForegroundColorColorSpecColor of text. This property determines the color of the text defined for theString property (the uicontrol label). Specify a color using a three-elementRGB vector or one of <strong>MATLAB</strong> ’s predefined names. The default text color isblack. See ColorSpec for more information on specifying color.HandleVisibility{on} | callback | offControl access to object’s handle by command-line users and GUIs. Thisproperty determines when an object’s handle is visible in its parent’s list ofchildren. HandleVisibility is useful for preventing command-line users fromaccidentally drawing into or deleting a figure that contains only user interfacedevices (such as a dialog box).Handles are always visible when HandleVisibility is on.Setting HandleVisibility to callback causes handles to be visible fromwithin callback routines or functions invoked by callback routines, but not fromwithin functions invoked from the command line. This provides a means toprotect GUIs from command-line users, while allowing callback routines tohave complete access to object handles.2-547

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

Saved successfully!

Ooh no, something went wrong!