坐标轴标题设置

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/cpp1781089410/article/details/68942772
plot(x,Y(2,:),'k',x,Y(5,:),'m',x,Y(8,:),'b',x,Y(11,:),'g',x,Y(14,:),'r');
%axis([0 n 0 1.0]); %%坐标轴范围
xlabel('T','FontName','Times New Roman','FontSize',10);
ylabel('N','FontName','Times New Roman','FontSize',10);
zlabel('CNT','FontName','Times New Roman','FontSize',10);
%set(gca,'ytick',[0:0.2:1.0]);   %y轴范围每一小格范围
set(gca,'FontName','Times New Roman','FontSize',10,'LineWidth',1);
set(gcf,'Units','centimeters','Position',[10 7 12 6.75]);   %
set(gca,'box','off');
legend('节点1','节点2','节点3','节点4','节点5');
legend boxon;
展开阅读全文

没有更多推荐了,返回首页