%% Specify Line Style
% Create vector t. Then use t to calculate two sets of x and y values.

t = 0:pi/20:10*pi;
xt1 = sin(t);
yt1 = cos(t);

xt2 = sin(2*t);
yt2 = cos(2*t);

% Plot the two sets of values. Use the default line for the first set, and specify a dashed line for the second set.

plot3(xt1,yt1,t,xt2,yt2,t,'--')

% Copyright 2018 The MathWorks, Inc.