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 PropertiesWhen you click on the image, <strong>MATLAB</strong> displays the text string at that location.With HitTest set to off, existing text cannot intercept any subsequent buttondown events that occur over the text. This enables the image’s button downfunction to execute.HorizontalAlignment{left} | center | rightHorizontal alignment of text. This property specifies the horizontal justificationof the text string. It determines where <strong>MATLAB</strong> places the string with regardto the point specified by the Position property. The following pictureillustrates the alignment options.Text HorizontalAlignment property viewed with the VerticalAlignmentproperty set to middle (the default).Left Center RightSee the Extent property for related information.Interpreter{tex} | noneInterpret Tex instructions. This property controls whether <strong>MATLAB</strong> interpretscertain characters in the String property as Tex instructions (default) ordisplays all characters literally. See the String property for a list of supportTex instructions.Interruptible{on} | offCallback routine interruption mode. The Interruptible property controlswhether a text callback routine can be interrupted by subsequently invokedcallback routines. text objects have four properties that define callbackroutines: ButtonDownFcn, CreateFcn, and DeleteFcn. See the BusyActionproperty for information on how <strong>MATLAB</strong> executes callback routines.ParenthandleText object’s parent. The handle of the text object’s parent object. The parent ofa text object is the axes in which it is displayed. You can move a text object toanother axes by setting this property to the handle of the new parent.2-516

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

Saved successfully!

Ooh no, something went wrong!