%% Modify x-Axis Label After Creation
% Label the x-axis and return the text object used as the label.

plot((1:10).^2)
t = xlabel('Population');

%
% Use t to set text properties of the label after it has been created. For example, set the color of the label to red. Use dot notation to set properties.

t.Color = 'red';

% Copyright 2015 The MathWorks, Inc.