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

x = randn(50,1);
y = randn(50,1);
z = randn(50,1);
scatter3(x,y,z)

%

zl = zlim

% Copyright 2015 The MathWorks, Inc.