%% Plot 3-D Parametric Line
% Plot the 3-D parametric line
% \matrix{x = \sin(t) \cr y = \cos(t) \cr z = t}
% over the default parameter range [-5 5].

xt = @(t) sin(t);
yt = @(t) cos(t);
zt = @(t) t;
fplot3(xt,yt,zt)

% Copyright 2012 The MathWorks, Inc.