Skip to content

xlabel

Plot label for the x-axis

xlabel(c)

  • c should be a character array.
  • Escape characters, such as \n, are not supported.

Note

If the hold state is off, execution of the next plot or surf function will reset the label text to an empty string; otherwise, the label text will remain unchanged.