|
- subplot(2,2,1);
- plot(x,kesi1_A,'-r','linewidth',1.0);
- hold on;
- plot(x1,kesi1_S_NHS,'o','markerfacecolor','w','linewidth',0.5);
- hold on;
- plot(x1,kesi1_S_HS,'.k','markersize',16);
- set(gca,'FontName','Times New Roman');
- xlabel('\itx\rm/m','FontSize',15,'FontName','Times New Roman');
- ylabel('\it\eta\rm/m','FontSize',15,'FontName','Times New Roman');
- set(gca,'YLim',[-0.1,1.1],'XLim',[0,300]);
- set(gca,'XTickLabel',[0:50:300],'fontsize',13,'FontName','Times New Roman');
- set(gca,'YTickLabel',[0:0.2:1],'fontsize',13,'FontName','Times New Roman');
- h=legend('右侧','中间','左侧');
- set(h,'Fontsize',20);
- legend('boxoff');
- legend(gca,'Orientation','vertical','location','northeast');
- legend boxoff;
- text(135,1.0,'\fontname{Times New Roman}\fontsize{19} t=5 s');
复制代码
——————————————————————————————————
上面是我的代码,为什么我用句柄控制legend的字体大小,没有作用呢?不管我改成多少,字体大小总也不变?可否帮我看一下,到底是什么问题?
|
|