%% Display 3-D Surface Normals for Cone Plot
% Compute and plot the normal vectors for a truncated cone. Set the axis
% limits using the |axis| function.

% Copyright 2015 The MathWorks, Inc.


[x,y,z] = cylinder(1:10);
figure
surfnorm(x,y,z)
axis([-12 12 -12 12 -0.1 1])
