MATLAB: How to change the font size in a plot (only for the axes numbers)

fontsizeMATLABplot

as you can see in the attached image i need to change only the size of the numbers not the title or the colorbar how can i do this? thank you

Best Answer

Use the 'FontSize' property of the current axes:
set(gca,'FontSize',20)