Matlab IRFs plot format

Hi Professor,

I am wondering if it’s possible to display IRFs reading like " 0.002" rather than 2*(10^(-3))?
Please see attached the pic.Capture

Best

You would need to do this manually. See e.g. https://stackoverflow.com/questions/10454047/removing-scientific-notation-in-the-tick-label-of-a-matlab-plot

1 Like

Thanks for your reply.
But I have found the better solution for R2015 and onwards.

https://uk.mathworks.com/help/matlab/creating_plots/change-tick-marks-and-tick-labels-of-graph-1.html#d119e2453

which resolves the problem perfectly by simplying adding two lines of codes after plot function:

plot(x,y)

ax = gca;
ax.YAxis.Exponent = 0;

Hopefully it helps others.

1 Like