Help text:
qtextdist(lbldist, ttldist) specifies distance between ticks and
tick labels and between tick labels and axis title, in points.
qtextdist(dist) uses dist for both distances.
Positive numbers are to the left and down; negative numbers are to the
right and up.
[lbl, ttl] = qtextdist returns current settings.
Download pdf.