www.gusucode.com > graphics 案例源码程序 matlab代码 > graphics/CreateLabelandSetFontPropertiesExample.m
%% Change x-Axis Label Font Size and Color % Use |Name,Value| pair arguments to set the font size, font weight, and text % color properties of the _x_-axis label. % Copyright 2015 The MathWorks, Inc. plot((1:10).^2) xlabel('Population','FontSize',12,'FontWeight','bold','Color','r')