MATLAB: How to show all decimals in axis

axis

By default, the axis in matlab plots show the number of decimals simplified by x10^#, how could we obtain this values in axes changing:
from 6.5 x10^5 to 650000?
I have seen that this code:
ax.YAxis.TickLabelFormat = '%.5f';
makes this
6.5 x10^5 to 6.50000 x10^5,
but im looking to delete "x10^5" abbreviation.
Thanks in advance

Best Answer

ax.YAxis.Exponent = 0;
should do this if you have a sufficiently recent version of Matlab.