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.

Text PropertiesPosition[x,y,[z]]Location of text. A two- or three-element vector, [x y [z]], that specifies thelocation of the text in three dimensions. If you omit the z value, it defaults to 0.All measurements are in units specified by the Units property. Initial value is[0 0 0].Rotation scalar (default = 0)Text orientation. This property determines the orientation of the text string.Specify values of rotation in degrees (positive angles cause counterclockwiserotation).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} | offObjects 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.StringstringThe text string. Specify this property as a quoted string for single-line strings,or as a cell array of strings or a padded string matrix for multiline strings.<strong>MATLAB</strong> displays this string at the specified location. Vertical slashcharacters are not interpreted as linebreaks in text strings, and are drawn aspart of the text string. See the “Remarks” section for more information.When the text Interpreter property is Tex (the default), you can use a subsetof TeX commands embedded in the string to produce special characters such asGreek letters and mathematical symbols. The following table lists thesecharacters and the character sequence used to define them.2-517

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

Saved successfully!

Ooh no, something went wrong!