%% Create y-Axis Label and Set Font Properties
% Use Name,Value pairs to set the font size, font weight, and text color properties of the y-axis label.

figure
plot((1:10).^2)
ylabel('Population','FontSize',12,...
       'FontWeight','bold','Color','r')

% 'FontSize',12 displays the label text in 12-point font. 'FontWeight','bold' makes the text bold. 'Color','r' sets the text color to red.
% Copyright 2015 The MathWorks, Inc.