%% Rotate Spiral Trace About Z-Axis
% Create and display a spiral trace.

trace = traceSpiral;
show(trace)

% Rotate the spiral trace by 45 degrees about the z-axis.

traceRotZ = rotateZ(trace,45);

% Display the rotated shape.

show(traceRotZ)

% Copyright 2021 The MathWorks, Inc.