%% Return x-Axis Limits
% Create a scatter plot of random data. Return the values of the x-axis limits.

x = randn(50,1);
y = randn(50,1);
scatter(x,y)

%

xl = xlim

% Copyright 2015 The MathWorks, Inc.