Skip to content

TextObj

Construct a text object handle.

h = TextObj
h = TextObj(s)

Returns a handle to a text object with optional initial string s. Used internally by chart annotations and labels — most user code interacts with text via higher-level functions like title, xlabel, text.

h = TextObj('Hello')
  • title — Set the title of the current axes.
  • xlabel — Set the x-axis label.