Skip to content

xlabel

Set the x-axis label.

h = xlabel(str, ...)

Sets the x-axis label text. Same name-value-pair conventions as title.

xlabel('Time (s)')
  • ylabel — Set the y-axis label.
  • zlabel — Set the z-axis label.
  • title — Set the title of the current axes.