%% Rotate and Mesh Line Trace
% Create a line trace.

customLine = traceLine;

% Rotate the trace by 45 degrees along the Z-axis.

customLine = rotateZ(customLine,45)
show(customLine)

%
% Mesh the line trace at a maximum edge length of 1 m.

mesh(customLine,MaxEdgeLength=1)

% Copyright 2020 The MathWorks, Inc.