MATLAB: allow integer, non-exponential ylabel or xlabel

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

To allow the xlabel and ylabel to be integers (e.g. 362093), put the following line after you set xlabel or ylabel:

In this case, the ‘%7d’ means I want up to 7 integer digits on my y-axis.