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

% Copyright 2015 The MathWorks, Inc.


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