Matplotlib xlabel. Set_xticklabels. ax.set_xlabel. set(gca,'xtick',n,'xticklabel',num2str(n));.