Changing Fonts Size in Matlab Plots

前端 未结 7 1880
隐瞒了意图╮
隐瞒了意图╮ 2020-12-07 11:55

I want to change Font Size for xlabel, ylabel, axis size, legend font size a.k.a everything at once, is this possible? By default, font is Helvetic

7条回答
  •  情深已故
    2020-12-07 12:21

    If you want to change font size for all the text in a figure, you can use findall to find all text handles, after which it's easy:

    figureHandle = gcf;
    %# make all text in the figure to size 14 and bold
    set(findall(figureHandle,'type','text'),'fontSize',14,'fontWeight','bold')
    

提交回复
热议问题