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.

Text PropertiesTo print the special characters used to define the Tex strings whenInterpreter is Tex, prefix them with the backslash “\” character: \\, \{, \} \_,\^.See the example for more information.When Interpreter is none, no characters in the String are interpreted, and allare displayed when the text is drawn.TagstringUser-specified object label. The Tag property provides a means to identifygraphics objects with a user-specified label. This is particularly useful whenconstructing interactive graphics programs that would otherwise need todefine object handles as global variables or pass them as arguments betweencallback routines. You can define Tag as any string.Typestring (read only)Class of graphics object. For text objects, Type is always the string 'text'.Units pixels | normalized | inches |centimeters | points | {data}Units of measurement. This property specifies the units <strong>MATLAB</strong> uses tointerpret the Extent and Position properties. All units are measured from thelower-left corner of the axes plotbox. Normalized units map the lower-leftcorner of the rectangle defined by the axes to (0,0) and the upper-right cornerto (1.0,1.0). pixels, inches, centimeters, and points are absolute units (1point = 1 / 72 inch). data refers to the data units of the parent axes.If you change the value of Units, it is good practice to return it to its defaultvalue after completing your computation so as not to affect other functions thatassume Units is set to the default value.UserDatamatrixUser-specified data. Any data you want to associate with the text object.<strong>MATLAB</strong> does not use this data, but you can access it using set and get.UIContextMenu handle of a uicontextmenu objectAssociate a context menu with the text. Assign this property the handle of auicontextmenu object created in the same figure as the text. Use theuicontextmenu function to create the context menu. <strong>MATLAB</strong> displays thecontext menu whenever you right-click over the text.2-520

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

Saved successfully!

Ooh no, something went wrong!