Probably it's better for me to ask the question with the picture attached here:

Is it possible to adjust the numbers on the axes to be in no more than one digit both before and after decimal point for space saving and avoiding overlapping? Originally, I want the figure to be displayed as follows(it is done by adding text for illustration):

But, I don't know how to make it by coding since there are tens of graphs which would be time-consuming by hand tuning or setting. THank you in advance.