How to change the font size of a plot's title and axis labels and save it?
问题 Every time I save a plot picture as jpg or png, font size of title and axis label is changed back to default automatically. My code is like this: figure plot(x, f(x)) title('the smallest n = 1', 'FontSize', 24); xlabel('x', 'FontSize', 24); ylabel('x''', 'FontSize', 24); After saving the picture, those font sizes become small again. Anyone knows why? 回答1: Because it just applies for the current figure. If you want to set the same font size for the whole session, use: set(0,