%% Label x-Axis of Specific Subplot
% Create a figure with two subplots. Label the x-axis of the top subplot.

ax1 = subplot(2,1,1);
plot((1:10).^2)
xlabel(ax1,'Population')

ax2 = subplot(2,1,2);
plot((1:10).^3)

% Copyright 2015 The MathWorks, Inc.