Matlab: changing font size on xlabel and ylabel
问题 I am doing the following (this is a simple example to illustrate the problem): a = [1,3,4]; b = [1,4,5]; plot(a,b,'LineWidth',4); xlabel('recall','FontSize',35); ylabel('precision','FontSize',4); and it produces: As you can see the 'FontSize' is having no effect. I have also got the properties of the xlabel shown below: xl = xlabel('recall','FontSize',35); get(xl) FontAngle = normal FontName = Helvetica FontSize = [35] FontUnits = points FontWeight = normal 回答1: You have to install packages: