# Matlab integer, non-exponential ylabel, xlabel

For integer xlabel and ylabel (e.g. 362093) put the following line **after you set xlabel or ylabel**:

`set(gca, YTickLabel=sprintf('%7d|', get(gca,'YTick')))`

`%7d|`

- up to 7 integer digits on y-axis.

Matlab default behavior, which Mathworks says is currently not changeable, is to put exponential format into xlabel and ylabel for large numbers–even integers.