Skip to content

title

Set the title of the current axes.

h = title(str)
h = title(h, str)
h = title(str, name, value, ...)

Adds or modifies the title text on the current axes (or the axes specified by h). Trailing name-value pairs control text properties ('FontSize', 'FontWeight', 'Color').

title('Temperature vs Time')
  • xlabel — Set the x-axis label.
  • ylabel — Set the y-axis label.
  • zlabel — Set the z-axis label.