%% Include Variable Value in x-Axis Label
% Add a label with text and a variable value. Use the num2str function to include a variable value in the label.

plot((1:10).^2)  
year = 2014;
xlabel(['Population for Year ',num2str(year)])

% Copyright 2012 The MathWorks, Inc.