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.

uisetfontPurpose2uisetfontModify font characteristics for objects interactivelySyntaxDescriptionuisetfontuisetfont(h)uisetfont(S)uisetfont(h,'DialogTitle')uisetfont(S,'DialogTitle')S = uisetfont(...)uisetfont enables you to change font properties (FontName, FontUnits,FontSize, FontWeight, and FontAngle) for a text, axes, or uicontrol object. Thefunction returns a structure consisting of font properties and values. You canspecify an alternate title for the dialog box.uisetfont displays the dialog box and returns the selected font properties.uisetfont(h) displays a dialog box, initializing the font property values withthe values of those properties for the object whose handle is h. Selected fontproperty values are applied to the current object. If a second argument issupplied, it specifies a name for the dialog box.uisetfont(S) displays a dialog box, initializing the font property values withthe values defined for the specified structure (S). S must define legal values forone or more of these properties: FontName, FontUnits, FontSize, FontWeight,and FontAngle and the field names must match the property names exactly. Ifother properties are defined, they are ignored. If a second argument issupplied, it specifies a name for the dialog box.uisetfont('DialogTitle') displays a dialog box with the title DialogTitleand returns the values of the font properties selected in the dialog box.If a left-hand argument is specified, the properties FontName, FontUnits,FontSize, FontWeight, and FontAngle are returned as fields in a structure. Ifthe user presses Cancel from the dialog box or if an error occurs, the outputvalue is set to 0.2-573

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

Saved successfully!

Ooh no, something went wrong!