Matlab坐标轴Label字体样式调整x=-pi:pi/10:pi;
y=sin(x);
plot(x,y,'linewidth',3);
grid on
xlabel('x','fontsize',20,'fontname','Courier')
ylabel('y','fontweight','bold');
set(gca,'String','h(\mum)','color','k','fontsize',12,'fontweight','bold');
坐标轴加粗fontweight取值
set(line1,'linestyle','-','color','k','linewidth',2.0)
坐标轴刻度值加粗
set(gca,'XColor','k','YColor','k','linewidth',2,'fontsize',12);

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。